adder: don't discard the flush-start events
This reverts one more part of a86ca535c88a604daa431b0bc1cf4cd8fbb2d100 and hopefully fixes #694553 for good.
This commit is contained in:
parent
37bf14dafd
commit
e2d0a1835b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user