From 5737f4f367d2ae748cd231978b357ff02adbb1a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 20 Feb 2014 15:34:36 +0100 Subject: [PATCH] multiqueue: If we only have a single pad, don't consider all pads not linked and grow the queue indefinitely --- plugins/elements/gstmultiqueue.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/elements/gstmultiqueue.c b/plugins/elements/gstmultiqueue.c index f7ed0ea..df3b6fe 100644 --- a/plugins/elements/gstmultiqueue.c +++ b/plugins/elements/gstmultiqueue.c @@ -1943,6 +1943,9 @@ single_queue_overrun_cb (GstDataQueue * dq, GstSingleQueue * sq) } } + if (!mq->queues || !mq->queues->next) + all_not_linked = FALSE; + /* if hard limits are not reached then we allow one more buffer in the full * queue, but only if any of the other singelqueues are empty or all are * not linked */ -- 2.7.4