From e30f38531ce74ebb33121505f8b2bcb22ff2b0af Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 19 Mar 2010 11:10:40 +0100 Subject: [PATCH] sdpdemux: disable loop and auto multicast join Disable loopback of packets. Disable autojoin of multicast groups in the sink because the source already does that on the shared socket. --- gst/sdp/gstsdpdemux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c index 4470a6ba60..b9fc106378 100644 --- a/gst/sdp/gstsdpdemux.c +++ b/gst/sdp/gstsdpdemux.c @@ -1049,6 +1049,8 @@ gst_sdp_demux_stream_configure_udp_sink (GstSDPDemux * demux, if (!stream->multicast) g_signal_emit_by_name (stream->udpsink, "clear"); + g_object_set (G_OBJECT (stream->udpsink), "auto-multicast", FALSE, NULL); + g_object_set (G_OBJECT (stream->udpsink), "loop", FALSE, NULL); /* no sync needed */ g_object_set (G_OBJECT (stream->udpsink), "sync", FALSE, NULL); /* no async state changes needed */ -- 2.34.1