Commit 192108a1 authored by Edward Wang's avatar Edward Wang Committed by Jean-Baptiste Kempf

Add title play time in playback menus for MKV

Ref #4030
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 704c3c63
......@@ -667,6 +667,9 @@ bool demux_sys_t::PreloadLinked()
i_chapters = 0;
( *p_seg->Editions() )[j]->PublishChapters( *p_title, i_chapters, 0 );
// Input duration into i_length
p_title->i_length = ( *p_seg->Editions() )[j]->i_duration;
}
// create a name if there is none
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment