[farsight2/master] Set sending state at start

Olivier Crête olivier.crete at collabora.co.uk
Thu Feb 5 06:32:09 PST 2009


---
 transmitters/multicast/fs-multicast-transmitter.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/transmitters/multicast/fs-multicast-transmitter.c b/transmitters/multicast/fs-multicast-transmitter.c
index 5b77889..8dfcd43 100644
--- a/transmitters/multicast/fs-multicast-transmitter.c
+++ b/transmitters/multicast/fs-multicast-transmitter.c
@@ -936,8 +936,11 @@ fs_multicast_transmitter_get_udpsock (FsMulticastTransmitter *trans,
   g_mutex_unlock (trans->priv->mutex);
 
   if (udpsock->udpsink_recvonly_filter)
+  {
+    g_object_set (udpsock->udpsink_recvonly_filter, "sending", sending, NULL);
     g_signal_emit_by_name (udpsock->udpsink, "add", udpsock->multicast_ip,
         udpsock->port);
+  }
 
   if (sending)
     fs_multicast_transmitter_udpsock_inc_sending (udpsock);
-- 
1.5.6.5




More information about the farsight-commits mailing list