mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
basesink: reset QoS on segment event
This avoids spurious warnings about slow machine when upstream sends new segments without flushing.
This commit is contained in:
parent
5abc82e9f3
commit
2dc8839234
1 changed files with 1 additions and 0 deletions
|
@ -3091,6 +3091,7 @@ gst_base_sink_default_event (GstBaseSink * basesink, GstEvent * event)
|
|||
GST_DEBUG_OBJECT (basesink, "configured segment %" GST_SEGMENT_FORMAT,
|
||||
&basesink->segment);
|
||||
basesink->have_newsegment = TRUE;
|
||||
gst_base_sink_reset_qos (basesink);
|
||||
GST_OBJECT_UNLOCK (basesink);
|
||||
break;
|
||||
case GST_EVENT_GAP:
|
||||
|
|
Loading…
Reference in a new issue