From: Wim Taymans Date: Fri, 19 Mar 2010 10:10:40 +0000 (+0100) Subject: sdpdemux: disable loop and auto multicast join X-Git-Tag: 1.19.3~507^2~17307 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e30f38531ce74ebb33121505f8b2bcb22ff2b0af;p=platform%2Fupstream%2Fgstreamer.git 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. --- 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 */