[farsight2/master] Have the transmitter sink bin do the async-handling
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:21:15 PST 2008
---
transmitters/rawudp/fs-rawudp-transmitter.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/transmitters/rawudp/fs-rawudp-transmitter.c b/transmitters/rawudp/fs-rawudp-transmitter.c
index b24cf1d..ef8e735 100644
--- a/transmitters/rawudp/fs-rawudp-transmitter.c
+++ b/transmitters/rawudp/fs-rawudp-transmitter.c
@@ -255,6 +255,10 @@ fs_rawudp_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++)
@@ -341,7 +345,6 @@ fs_rawudp_transmitter_constructed (GObject *object)
g_object_set (fakesink,
"async", FALSE,
- "sync" , FALSE,
NULL);
pad = gst_element_get_request_pad (self->priv->udpsink_tees[c], "src%d");
@@ -742,7 +745,9 @@ fs_rawudp_transmitter_get_udpport (FsRawUdpTransmitter *trans,
if (!udpport->udpsink)
goto error;
- g_object_set (udpport->udpsink, "async", FALSE, NULL);
+ g_object_set (udpport->udpsink,
+ "async", 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