multiqueue: correct overrun handling
authorBranko Subasic <branko@axis.com>
Thu, 20 Dec 2012 12:31:02 +0000 (13:31 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 20 Dec 2012 14:34:01 +0000 (15:34 +0100)
commit17bff49262489950e40f6775e9ba0d2b574537bf
treea8a09f5ec9cfc4057548426449e7e484394d3418
parent6c968bbdf140defda50f446a2a0a687b91c1eb4e
multiqueue: correct overrun handling

The control of wheteher a SingleQueue is full is not correct.
Rewrote single_queue_overrun_cb() so it checks the correct variables
when checking if the queue has reached the hard limits, and to
increase the max buffer limit once for each call.

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