[farsight2/master] Dont unref the send codec bin twice

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:20:21 PST 2008


---
 gst/fsrtpconference/fs-rtp-session.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index f7a6dc5..38347af 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -354,8 +354,6 @@ fs_rtp_session_dispose (GObject *object)
   if (self->priv->send_codecbin) {
     gst_bin_remove (GST_BIN (self->priv->conference),
       self->priv->send_codecbin);
-    gst_element_set_state (self->priv->send_codecbin, GST_STATE_NULL);
-    gst_object_unref (self->priv->send_codecbin);
     self->priv->send_codecbin = NULL;
   }
 
-- 
1.5.6.5




More information about the farsight-commits mailing list