Commit 5d5a704a authored by Denis Charmet's avatar Denis Charmet Committed by Jean-Baptiste Kempf

MKV: Reset demux internal time when seeking to 0

Fix the first part of #5896
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit ccb134a6)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4093516c
......@@ -733,6 +733,8 @@ void matroska_segment_c::Seek( mtime_t i_date, mtime_t i_time_offset, int64_t i_
delete ep;
ep = new EbmlParser( &es, segment, &sys.demuxer );
cluster = NULL;
sys.i_start_pts = 0;
sys.i_pts = 0;
return;
}
......
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