[farsight2/master] Block on the tee src pad instead of the ghostpad when changing discovery stuff

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


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

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 818867b..e84816c 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -3640,7 +3640,7 @@ fs_rtp_session_start_codec_param_gathering (FsRtpSession *session)
 
   if (!session->priv->discovery_blocking_id)
     session->priv->discovery_blocking_id = gst_pad_add_data_probe (
-        session->priv->media_sink_pad,
+        session->priv->send_tee_discovery_pad,
         G_CALLBACK (_send_sink_pad_have_data_callback), session);
 
  out:
@@ -3674,7 +3674,7 @@ fs_rtp_session_stop_codec_param_gathering (FsRtpSession *session)
 
   if (session->priv->discovery_blocking_id)
   {
-    gst_pad_remove_data_probe (session->priv->media_sink_pad,
+    gst_pad_remove_data_probe (session->priv->send_tee_discovery_pad,
         session->priv->discovery_blocking_id);
     session->priv->discovery_blocking_id = 0;
   }
-- 
1.5.6.5




More information about the farsight-commits mailing list