funnel: Send a newsegment event after flush-stop

This commit is contained in:
Sebastian Dröge 2011-03-29 11:08:57 +02:00
parent acb8203e62
commit a7b451cc13

View file

@ -345,6 +345,7 @@ gst_funnel_sink_event (GstPad * pad, GstEvent * event)
{ {
GST_OBJECT_LOCK (funnel); GST_OBJECT_LOCK (funnel);
gst_segment_init (&fpad->segment, GST_FORMAT_UNDEFINED); gst_segment_init (&fpad->segment, GST_FORMAT_UNDEFINED);
funnel->has_segment = FALSE;
GST_OBJECT_UNLOCK (funnel); GST_OBJECT_UNLOCK (funnel);
} }
break; break;