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)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 29 Jun 2009 16:48:33 +0000 (18:48 +0200)
commit4bc5e2f61ed93072f3e96933af25b08fd6a2807f
treee3e842dfcdb65d9b9628b72c37ec5dfbfea4514f
parent9aca6def9c90e9d6339b7705529bb24aafaf4ef3
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