mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
ffdec: reset timestamp queue after flush
This commit is contained in:
parent
37875a95eb
commit
2b967b4122
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue