queue/queue2: Ensure that the streaming thread is unlocked after deactivating the...
authorSebastian Dröge <sebastian@centricular.com>
Tue, 13 Dec 2016 18:00:55 +0000 (20:00 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 13 Dec 2016 19:03:54 +0000 (21:03 +0200)
commit33c239828bd0563114fddb4fece75f95a986d41e
treef46fe5ae93128a7abe033cf55c7d290c5ad8c7ff
parent96304d613f664fd749f87939c5be40f86e5d0f2a
queue/queue2: Ensure that the streaming thread is unlocked after deactivating the srcpad

It might happen that the srcpad task function is never called at all, in
which case unlocking everything from there will never happen.

Make sure to unlock everything another time after the task function is
definitely stopped.

https://bugzilla.gnome.org/show_bug.cgi?id=776039
plugins/elements/gstqueue.c
plugins/elements/gstqueue2.c