adder: send a flush event before trying to get the stream lock
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 16 Dec 2011 17:25:10 +0000 (17:25 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 16 Dec 2011 17:36:02 +0000 (17:36 +0000)
commitbcaf5890aa6eb1c4a18b8dd71eacb22aadba0ead
tree186201d817394dd6ee5ac4b2cbd734974588e83a
parent229377fb6bee4f6dafa4f120eb2ca9a65e8110e3
adder: send a flush event before trying to get the stream lock

This avoids hanging when the streaming thread is busy in _chain
waiting for preroll.

https://bugzilla.gnome.org/show_bug.cgi?id=666379
gst/adder/gstadder.c