[farsight2/master] Set the right async properties on the multicast udp sinks
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:21:20 PST 2008
---
transmitters/multicast/fs-multicast-transmitter.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/transmitters/multicast/fs-multicast-transmitter.c b/transmitters/multicast/fs-multicast-transmitter.c
index 156805c..84e7a87 100644
--- a/transmitters/multicast/fs-multicast-transmitter.c
+++ b/transmitters/multicast/fs-multicast-transmitter.c
@@ -250,6 +250,10 @@ fs_multicast_transmitter_constructed (GObject *object)
return;
}
+ g_object_set (G_OBJECT (self->priv->gst_sink),
+ "async-handling", TRUE,
+ NULL);
+
gst_object_ref (self->priv->gst_sink);
for (c = 1; c <= self->components; c++) {
@@ -809,7 +813,10 @@ fs_multicast_transmitter_get_udpsock (FsMulticastTransmitter *trans,
if (!udpsock->udpsink)
goto error;
- g_object_set (udpsock->udpsink, "async", FALSE, NULL);
+ g_object_set (udpsock->udpsink,
+ "async", FALSE,
+ "sync", FALSE,
+ NULL);
trans->priv->udpsocks[component_id] =
g_list_prepend (trans->priv->udpsocks[component_id], udpsock);
--
1.5.6.5
More information about the farsight-commits
mailing list