multiqueue: Don't grow queue infinitely if only one pad is linked
authorSebastian Dröge <sebastian@centricular.com>
Sun, 15 Mar 2015 14:19:17 +0000 (14:19 +0000)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 15 Mar 2015 14:19:17 +0000 (14:19 +0000)
commit5fc2a3fd6683541aae2ac9a6053d2f71b232db69
treec1023be93126579a8c8f63851da670c558a93663
parent01e44969dfc664d010da16172c96173ae1acefbe
multiqueue: Don't grow queue infinitely if only one pad is linked

This was introduced by
https://bugzilla.gnome.org/show_bug.cgi?id=719893
https://bugzilla.gnome.org/show_bug.cgi?id=722891
but it doesn't make any sense at all and causes huge memory leaks.

https://bugzilla.gnome.org/show_bug.cgi?id=744253
plugins/elements/gstmultiqueue.c