playbin2: remove uridecodebin from bin when it fails to switch to PAUSED
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 8 Jun 2012 16:28:28 +0000 (17:28 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 8 Jun 2012 16:35:06 +0000 (17:35 +0100)
commit512f96906e0d4385447c9c9c4455b46b4e8b19c8
tree8aecb04ab17e193b6f51584ed06c99d236e7462d
parent9d6967fe9ac8063b0b715f87fbd8107fc9a518ed
playbin2: remove uridecodebin from bin when it fails to switch to PAUSED

This avoids that bin being leftover and being found when reusing playbin2,
and fixes restarting on a new URI after failing to activate with a previous
URI.

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