From e2d0a1835b1efa0e0a9e011fea365707d54edda3 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Wed, 27 Feb 2013 22:05:36 +0100 Subject: [PATCH] adder: don't discard the flush-start events This reverts one more part of a86ca535c88a604daa431b0bc1cf4cd8fbb2d100 and hopefully fixes #694553 for good. --- gst/adder/gstadder.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index f7adea30c4..59dabbe877 100644 --- a/gst/adder/gstadder.c +++ b/gst/adder/gstadder.c @@ -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