Commit de6a9a26 authored by Joakim Plate's avatar Joakim Plate Committed by Aurelien Jacobs

matroskadec: set cur_dts after seek

patch by elupus   elupus _at_ ecce _dot_ se

Originally committed as revision 13748 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 927509e1
......@@ -3177,6 +3177,7 @@ matroska_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp,
matroska->skip_to_keyframe = !(flags & AVSEEK_FLAG_ANY);
matroska->skip_to_stream = st;
matroska->peek_id = 0;
av_update_cur_dts(s, st, st->index_entries[index].timestamp);
return 0;
}
......
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