don't lock when min-threshold and max-size conflict.
authorArnout Vandecappelle <arnout@mind.be>
Thu, 11 Jun 2009 13:00:52 +0000 (15:00 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 15 Jun 2009 17:06:12 +0000 (19:06 +0200)
commit34aeb8ba7efd6c39d85b7172201bdd19008d6133
tree506e092afda8c5ed2a11b4817b6480df9f0062c0
parentd881bf69d1337e5bdd72dc3d238fb291d7322196
don't lock when min-threshold and max-size conflict.

When min-threshold is set on a queue, it is possible that one of
the minima remains unsatisfied while one of the maxima is already
reached. Therefore, always consider the queue non-empty if it is full.

Fixes #585433.
plugins/elements/gstqueue.c