[farsight2/master] Don't release the request pads on gstrtpbin, its not implemented and prints out a warning
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:26:49 PST 2008
---
gst/fsrtpconference/fs-rtp-session.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 65f4359..4446019 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -558,36 +558,44 @@ fs_rtp_session_dispose (GObject *object)
if (self->priv->rtpbin_send_rtcp_src)
{
+ /* Release pad generates a g_warning as of Nov 11 2008
gst_pad_set_active (self->priv->rtpbin_send_rtcp_src, FALSE);
gst_element_release_request_pad (self->priv->conference->gstrtpbin,
self->priv->rtpbin_send_rtcp_src);
+ */
gst_object_unref (self->priv->rtpbin_send_rtcp_src);
self->priv->rtpbin_send_rtcp_src = NULL;
}
if (self->priv->rtpbin_send_rtp_sink)
{
+ /* Release pad generates a g_warning as of Nov 11 2008
gst_pad_set_active (self->priv->rtpbin_send_rtp_sink, FALSE);
gst_element_release_request_pad (self->priv->conference->gstrtpbin,
self->priv->rtpbin_send_rtp_sink);
+ */
gst_object_unref (self->priv->rtpbin_send_rtp_sink);
self->priv->rtpbin_send_rtp_sink = NULL;
}
if (self->priv->rtpbin_recv_rtp_sink)
{
+ /* Release pad generates a g_warning as of Nov 11 2008
gst_pad_set_active (self->priv->rtpbin_recv_rtp_sink, FALSE);
gst_element_release_request_pad (self->priv->conference->gstrtpbin,
self->priv->rtpbin_recv_rtp_sink);
+ */
gst_object_unref (self->priv->rtpbin_recv_rtp_sink);
self->priv->rtpbin_recv_rtp_sink = NULL;
}
if (self->priv->rtpbin_recv_rtcp_sink)
{
+ /* Release pad generates a g_warning as of Nov 11 2008
gst_pad_set_active (self->priv->rtpbin_recv_rtcp_sink, FALSE);
gst_element_release_request_pad (self->priv->conference->gstrtpbin,
self->priv->rtpbin_recv_rtcp_sink);
+ */
gst_object_unref (self->priv->rtpbin_recv_rtcp_sink);
self->priv->rtpbin_recv_rtcp_sink = NULL;
}
--
1.5.6.5
More information about the farsight-commits
mailing list