multiqueue: Increment unique item counter with atomic operations
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 21 Mar 2011 16:52:13 +0000 (17:52 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 21 Mar 2011 16:52:59 +0000 (17:52 +0100)
commit383cac91b103fa4b133428cc6196f35a1cd7904d
treeb776b5aedecd2fca9752cbf4e3b0fc44170342f2
parent9e36a51bac990a5caba278caeef8ecb2937de4ff
multiqueue: Increment unique item counter with atomic operations

Before it was only protected by the stream lock but every pad
has its own stream lock, making the protection rather useless.
plugins/elements/gstmultiqueue.c
plugins/elements/gstmultiqueue.h