multiqueue: If we only have a single pad, don't consider all pads not linked and grow the queue indefinitely

This commit is contained in:
Sebastian Dröge 2014-02-20 15:34:36 +01:00
parent 6fc23cd016
commit 5737f4f367

View file

@ -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 */