mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
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:
parent
37bf14dafd
commit
e2d0a1835b
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue