playbin2: clear the target
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 14 Apr 2009 11:51:41 +0000 (13:51 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 14 Apr 2009 11:55:52 +0000 (13:55 +0200)
commit5eed96dc06b73a63b9401265baed281e49b2dbf4
tree79f4677db36afe6d6a2987f001b5224255d83ac8
parent77050a72f8c54a62ab344402aa15d8645150596a
playbin2: clear the target

Clear the target of our ghostpads before we remove the pad from the element.
This to make sure that the internal pad is not left linked to whatever pad we
were ghosted to. This should only be a problem when we leak the ghostpads.

Also release our subpicture pads.

Fixes #577288.
gst/playback/gstplaysink.c