[farsight2/master] Default auto-multicast to FALSE (to be compatible with newer udpsrc)

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:23:07 PST 2008


---
 transmitters/multicast/fs-multicast-transmitter.c |    4 ++++
 transmitters/rawudp/fs-rawudp-transmitter.c       |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/transmitters/multicast/fs-multicast-transmitter.c b/transmitters/multicast/fs-multicast-transmitter.c
index 743f98c..025804f 100644
--- a/transmitters/multicast/fs-multicast-transmitter.c
+++ b/transmitters/multicast/fs-multicast-transmitter.c
@@ -835,6 +835,10 @@ fs_multicast_transmitter_get_udpsock (FsMulticastTransmitter *trans,
         GST_PAD_SRC, &udpsock->udpsrc_requested_pad, error);
     if (!udpsock->udpsrc)
       goto error;
+
+    g_object_set (udpsock->udpsrc,
+        "auto-multicast", FALSE,
+        NULL);
   }
 
   udpsock->udpsink = _create_sinksource ("multiudpsink",
diff --git a/transmitters/rawudp/fs-rawudp-transmitter.c b/transmitters/rawudp/fs-rawudp-transmitter.c
index 6b3fa99..82d372b 100644
--- a/transmitters/rawudp/fs-rawudp-transmitter.c
+++ b/transmitters/rawudp/fs-rawudp-transmitter.c
@@ -765,6 +765,10 @@ fs_rawudp_transmitter_get_udpport (FsRawUdpTransmitter *trans,
       "sync", FALSE,
       NULL);
 
+  g_object_set (udpport->udpsrc,
+      "auto-multicast", FALSE,
+      NULL);
+
   trans->priv->udpports[component_id] =
     g_list_prepend (trans->priv->udpports[component_id], udpport);
 
-- 
1.5.6.5




More information about the farsight-commits mailing list