From 3032a369a7c42e77ecda7b4b08287865c52e3e64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 13 Aug 2014 13:01:23 +0300 Subject: [PATCH] multiqueue: Only handle flow returns < EOS as errors, not e.g. flushing --- plugins/elements/gstmultiqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/elements/gstmultiqueue.c b/plugins/elements/gstmultiqueue.c index 1a99737315..9f58806f5e 100644 --- a/plugins/elements/gstmultiqueue.c +++ b/plugins/elements/gstmultiqueue.c @@ -1470,7 +1470,7 @@ out_flushing: * has returned an error flow return. After EOS there * will be no further buffer which could propagate the * error upstream */ - if (sq->is_eos) { + if (sq->is_eos && sq->srcresult < GST_FLOW_EOS) { GST_MULTI_QUEUE_MUTEX_UNLOCK (mq); GST_ELEMENT_ERROR (mq, STREAM, FAILED, ("Internal data stream error."),