queue2: signal delete before waiting
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 11 Apr 2012 10:34:55 +0000 (12:34 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 11 Apr 2012 10:45:46 +0000 (12:45 +0200)
commitbdda711d03860d89db3f90532bb76f015e291993
tree8f0f48beaa0a9dede7700daa0ac168710023eea6
parentdc3d3674b1305fdffb3bf752e8dba6cb68b30c76
queue2: signal delete before waiting

When we don't have the requested data in the ringbuffer and we move our read
pointer to the requested position, signal the delete cond to inform the writer
that we changed the current fill level. If we don't, the writer might stay
blocked and we might wait forever.
plugins/elements/gstqueue2.c