mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
h264parse: fix wrong timestamps in some cases after seeking.
Reset ->last_outbuf_dts on flush-stop. Fixes #619064.
This commit is contained in:
parent
5208d030b3
commit
2441c79afa
1 changed files with 1 additions and 0 deletions
|
@ -2333,6 +2333,7 @@ gst_h264_parse_sink_event (GstPad * pad, GstEvent * event)
|
|||
GST_DEBUG_OBJECT (h264parse, "received FLUSH stop");
|
||||
gst_segment_init (&h264parse->segment, GST_FORMAT_UNDEFINED);
|
||||
gst_h264_parse_clear_queues (h264parse);
|
||||
h264parse->last_outbuf_dts = GST_CLOCK_TIME_NONE;
|
||||
res = gst_pad_push_event (h264parse->srcpad, event);
|
||||
break;
|
||||
case GST_EVENT_EOS:
|
||||
|
|
Loading…
Reference in a new issue