Commit 95cfad6a authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

MKV: Chapter timestamps are already set, don't overwrite them

It is mandatory in the specs. The chapters are not supposed to be in chronological order.

Fixes #13773
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 806e9a45
......@@ -226,7 +226,7 @@ void virtual_edition_c::retimeSubChapters( virtual_chapter_c * p_vchap )
for( size_t i = p_vchap->sub_chapters.size(); i-- > 0; )
{
virtual_chapter_c * p_vsubchap = p_vchap->sub_chapters[i];
p_vsubchap->i_virtual_start_time += p_vchap->i_virtual_start_time;
//p_vsubchap->i_virtual_start_time += p_vchap->i_virtual_start_time;
/*FIXME we artificially extend stop time if they were there before...*/
/* Just for comfort*/
......
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