playbin: make sure elements are in null before disposing
authorThiago Santos <ts.santos@partner.samsung.com>
Tue, 24 Sep 2013 23:47:52 +0000 (16:47 -0700)
committerThiago Santos <ts.santos@partner.samsung.com>
Tue, 1 Oct 2013 20:53:05 +0000 (17:53 -0300)
commitf8d8a56d7bb594d2f7de2d73bb435d19139df2b8
treefa2e9912b54dc6795ddea26e622e315bfc6b67bc
parent019ef0747dabddb873babbfc91ee77b26e574adf
playbin: make sure elements are in null before disposing

If a pipeline fails to preroll, it might happen that the sinks are
put into READY state from playbin's sink activation, but they are never
set to playsink, so they aren't being managed by a GstBin and will keep
their READY state until they are unreffed, leading to a warning.

Prevent this by always forcing them to NULL when deactivating a group

https://bugzilla.gnome.org/show_bug.cgi?id=708789
gst/playback/gstplaybin2.c