queue: Fix handling of serialized queries
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 27 May 2013 13:59:07 +0000 (15:59 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 27 May 2013 13:59:07 +0000 (15:59 +0200)
commit6f042f13aeb4cc2c8b92d81f4f5899d250fce5e3
tree3bd7dd43af5c8f19e0d79dc0a4f3af56adab88cc
parentcdc429f29678222f78c2e602333ecb228f499577
queue: Fix handling of serialized queries

During FLUSH_START the query needs to be unblocked already, otherwise
it can lead to deadlocks if the FLUSH_START is the result of something
done from the streaming thread of the srcpad (the queue will never be
emptied!).
plugins/elements/gstqueue.c
plugins/elements/gstqueue.h