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:
Vincent Penquerc'h 2014-07-01 11:21:53 +01:00
parent 5abc82e9f3
commit 2dc8839234

View file

@ -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: