summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-08-18 13:20:29 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-08-18 13:20:55 +0200
commit2b967b4122125e5591c72708a698f2ceed841de2 (patch)
treea1aa6289d6de56ec0372c45ad4248f23b39c9807
parent37875a95ebbdd551a113c542d730017960c1e4e1 (diff)
ffdec: reset timestamp queue after flush
-rw-r--r--ext/ffmpeg/gstffmpegdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c
index fdeff2a..2478462 100644
--- a/ext/ffmpeg/gstffmpegdec.c
+++ b/ext/ffmpeg/gstffmpegdec.c
@@ -2282,6 +2282,7 @@ gst_ffmpegdec_sink_event (GstPad * pad, GstEvent * event)
ffmpegdec->next_ts = GST_CLOCK_TIME_NONE;
gst_ffmpegdec_reset_qos (ffmpegdec);
gst_ffmpegdec_flush_pcache (ffmpegdec);
+ gst_ts_handler_init (ffmpegdec);
ffmpegdec->waiting_for_key = TRUE;
gst_segment_init (&ffmpegdec->segment, GST_FORMAT_TIME);
clear_queued (ffmpegdec);