rtpbin: rework cleanup of streams
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 26 Sep 2011 21:42:51 +0000 (14:42 -0700)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 7 Feb 2013 12:02:34 +0000 (13:02 +0100)
commit978cc9f538647414c116c464c4001f5ab19a90e9
tree67df26b16d5283e0889247b8cd054875592a1dad
parent3a5d17e852ae2d1b227d9c54a96494327a8b9976
rtpbin: rework cleanup of streams

Move the work of cleaning up the client streams in the free_stream
function. This allows us to properly clean up the client streams when we
remove an RTP stream as well.

Based on patch by Sujay <sdatar@cisco.com>

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=660156
gst/rtpmanager/gstrtpbin.c