changeset 3462:3f87bde8a97c libavformat

matroskadec: set cur_dts after seek patch by elupus elupus _at_ ecce _dot_ se
author aurel
date Wed, 11 Jun 2008 19:54:17 +0000
parents 7e3b70da5d13
children 91a688e89d31
files matroskadec.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/matroskadec.c	Wed Jun 11 09:40:40 2008 +0000
+++ b/matroskadec.c	Wed Jun 11 19:54:17 2008 +0000
@@ -3177,6 +3177,7 @@
     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;
 }