From 14ad7636987a74fb838344a4035e02f79614244e Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 15 Sep 2015 18:08:18 +0200 Subject: [PATCH] multiqueue: Accept STREAM_START after EOS In the same way core now allows STREAM_START to remove the flushing state from pads, we need to do the same thing in multiqueue --- plugins/elements/gstmultiqueue.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/elements/gstmultiqueue.c b/plugins/elements/gstmultiqueue.c index e328fc5..1d90cda 100644 --- a/plugins/elements/gstmultiqueue.c +++ b/plugins/elements/gstmultiqueue.c @@ -1776,6 +1776,10 @@ gst_multi_queue_sink_event (GstPad * pad, GstObject * parent, GstEvent * event) type = GST_EVENT_TYPE (event); switch (type) { + case GST_EVENT_STREAM_START: + /* Remove EOS flag */ + sq->is_eos = FALSE; + break; case GST_EVENT_FLUSH_START: GST_DEBUG_OBJECT (mq, "SingleQueue %d : received flush start event", sq->id); -- 2.7.4