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.
This commit is contained in:
Wim Taymans 2010-03-19 11:10:40 +01:00
parent 775c7584fd
commit e30f38531c

View file

@ -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 */