projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
775c758
)
sdpdemux: disable loop and auto multicast join
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 19 Mar 2010 10:10:40 +0000
(11:10 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 19 Mar 2010 10:13:30 +0000
(11:13 +0100)
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
patch
|
blob
|
history
diff --git
a/gst/sdp/gstsdpdemux.c
b/gst/sdp/gstsdpdemux.c
index 4470a6ba60fcf0b706b6e08afae9946ab7ecda53..b9fc106378452b6771dea1e6534cfe0823316f42 100644
(file)
--- 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 */