diff options
author | Joakim Plate <elupus@ecce.se> | 2008-06-11 19:54:17 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-06-11 19:54:17 +0000 |
commit | de6a9a267303d93dd853b156ebb7caf7d9d9a287 (patch) | |
tree | 9fa346f87f79a1af6e24c76480695e95a8064153 | |
parent | 927509e10b7d8a0a62339e3e194de87b92ef6709 (diff) | |
download | ffmpeg-de6a9a267303d93dd853b156ebb7caf7d9d9a287.tar.gz |
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
-rw-r--r-- | libavformat/matroskadec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index d6f6dcb707..819398d34a 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -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; } |