mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
6fc23cd016
commit
5737f4f367
1 changed files with 3 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue