basesrc: use new GCond for async state change
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 24 Oct 2012 09:16:12 +0000 (11:16 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 24 Oct 2012 09:16:12 +0000 (11:16 +0200)
commit9f42bd643e3b8ba3dd0da1654abef4fd2615e34e
tree2e6b2f9b17a3aefd84c567fd23bea81a6ed193ee
parent3ae671fb9b5dfa404da814e2d63b740d65d50c01
basesrc: use new GCond for async state change

Use a new GCond, protected with the object lock, to signal completion
of the async state change. We can't reuse the live lock because that
one can be locked when the create function blocks.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686723
libs/gst/base/gstbasesrc.c