funnel: Send a newsegment event after flush-stop
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 29 Mar 2011 09:08:57 +0000 (11:08 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 29 Mar 2011 09:20:06 +0000 (11:20 +0200)
plugins/elements/gstfunnel.c

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