Commit ccb134a6 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>
parent 1f33a25e
......@@ -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