adder: don't discard the flush-start events

This reverts one more part of a86ca535c8 and
hopefully fixes #694553 for good.
This commit is contained in:
Stefan Sauer 2013-02-27 22:05:36 +01:00
parent 37bf14dafd
commit e2d0a1835b

View file

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