[farsight2/master] Emit GstForceKeyUnit when multicast starts sending

Olivier Crête olivier.crete at collabora.co.uk
Fri Apr 10 11:13:19 PDT 2009


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

diff --git a/transmitters/multicast/fs-multicast-transmitter.c b/transmitters/multicast/fs-multicast-transmitter.c
index cabd884..5f85d35 100644
--- a/transmitters/multicast/fs-multicast-transmitter.c
+++ b/transmitters/multicast/fs-multicast-transmitter.c
@@ -1087,6 +1087,10 @@ fs_multicast_transmitter_udpsock_inc_sending (UdpSock *udpsock)
     else
       g_signal_emit_by_name (udpsock->udpsink, "add", udpsock->multicast_ip,
           udpsock->port);
+
+    gst_element_send_event (udpsock->udpsink,
+        gst_event_new_custom (GST_EVENT_CUSTOM_UPSTREAM,
+            gst_structure_new ("GstForceKeyUnit", NULL)));
   }
 }
 
-- 
1.5.6.5



More information about the farsight-commits mailing list