adder: don't discard the flush-start events
authorStefan Sauer <ensonic@users.sf.net>
Wed, 27 Feb 2013 21:05:36 +0000 (22:05 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Wed, 27 Feb 2013 21:07:11 +0000 (22:07 +0100)
This reverts one more part of a86ca535c88a604daa431b0bc1cf4cd8fbb2d100 and
hopefully fixes #694553 for good.

gst/adder/gstadder.c

index f7adea3..59dabbe 100644 (file)
@@ -817,11 +817,8 @@ gst_adder_sink_event (GstCollectPads * pads, GstCollectData * pad,
       event = NULL;
     }
     case GST_EVENT_FLUSH_START:
-      /* discard flush start events, as we forwarded one already when handing the
-       * flushing seek on the sink pad */
+      /* ensure that we will send a flush stop */
       g_atomic_int_set (&adder->need_flush_stop, TRUE);
-      discard = TRUE;
-      GST_DEBUG_OBJECT (pad->pad, "eating flush start");
       break;
     case GST_EVENT_FLUSH_STOP:
       /* we received a flush-stop. We will only forward it when