rtpbin: do better cleanup of the src ghostpads
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 29 Jun 2009 16:48:33 +0000 (18:48 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 11 Aug 2009 01:30:46 +0000 (02:30 +0100)
commit512ba93159d8c859ed515d0eb8c70a880d68a605
tree3564ca5791a82896432bee800b49b0018229a850
parentd7a8663e055234ddad2c9cdc645279a733d1787e
rtpbin: do better cleanup of the src ghostpads

Connect to the pad-removed signal of the ptdemux elements so that we remove the
ghostpads for them. Fixes cleanup when going to NULL as well as when releasing
the sinkpads.

Fixes #561752
gst/rtpmanager/gstrtpbin.c
tests/check/elements/rtpbin.c