basesrc: make sure we wait and release the live lock
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 10 Jan 2011 12:18:16 +0000 (13:18 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 10 Jan 2011 12:30:05 +0000 (13:30 +0100)
commit5c479aa3a4f7a277b723a3d7608d80ee09bcff95
tree5dc7a488d902e0129f3a8b9a7e9f9169576470ce
parent8edee55a3a2241ef4d83df6ec405bc4ba6ba42f0
basesrc: make sure we wait and release the live lock

Make sure we release the live lock and wait in all cases when we need to wait
for the playing or flushing state change.

Fixes #635785
libs/gst/base/gstbasesrc.c