gstbin: unlock _get_state() on error
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 25 May 2010 17:17:44 +0000 (19:17 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 25 May 2010 17:17:44 +0000 (19:17 +0200)
commit88c6896fb9db7d61429d6305314d549c818545da
tree82231857ea3da1a88e1be1149dcc5cf114326fef
parent4c37bae46392a8f7a9342525d98cce5b12d1ef6e
gstbin: unlock _get_state() on error

When an error message is received on the bus, mark the bin as being in the error
state and unlock all current _get_state() calls with an error.

Fixes #505770
gst/gstbin.c
tests/check/gst/gstbin.c