GNOME Bugzilla – Bug 679458
[queue] Serialized queries blocking forever if using a min-threshold
Last modified: 2012-07-09 13:41:35 UTC
See for example: $ gst-launch-1.0 audiotestsrc ! queue min-threshold-time=200000000 ! fakesink It waits in gstqueue.c:801 because there are some serialized events in the queue, which are never going to be pushed downstream until we have caps and a buffer and everything. And this is never going to happen because the query is blocked :)
+ Trace 230474
commit af73f3fc02a6eb698da3933ea7bd607b2b157772 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Mon Jul 9 15:37:28 2012 +0200 queue: Fix handling of min-threshold and serialized queries Only consider the queue empty if the minimum thresholds are not reached and data is at the queue head. Otherwise we would block forever on serialized queries. This also makes sending of serialized events, like caps, happen faster and potentially improves negotiation performance. Fixes bug #679458.