summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2010-03-19 11:10:40 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2010-03-19 11:13:30 +0100
commite30f38531ce74ebb33121505f8b2bcb22ff2b0af (patch)
treeb445f4dc58af19ca209b3802dc36394cb1f7469a
parent775c7584fdad53053ae5b22bb19074cc6022ee98 (diff)
downloadgstreamer-plugins-bad-e30f38531ce74ebb33121505f8b2bcb22ff2b0af.tar.gz
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.
-rw-r--r--gst/sdp/gstsdpdemux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c
index 4470a6ba6..b9fc10637 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 */