[FFmpeg-cvslog] r13748 - trunk/libavformat/matroskadec.c
aurel
subversion
Wed Jun 11 21:54:18 CEST 2008
Author: aurel
Date: Wed Jun 11 21:54:17 2008
New Revision: 13748
Log:
matroskadec: set cur_dts after seek
patch by elupus elupus _at_ ecce _dot_ se
Modified:
trunk/libavformat/matroskadec.c
Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c (original)
+++ trunk/libavformat/matroskadec.c Wed Jun 11 21:54:17 2008
@@ -3177,6 +3177,7 @@ matroska_read_seek (AVFormatContext *s,
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;
}
More information about the ffmpeg-cvslog
mailing list