summaryrefslogtreecommitdiff
path: root/transmitters/nice
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2011-06-15 16:33:45 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2011-06-15 16:54:53 -0400
commit768ee96f5d80132f26b7217e885631ecf97865e7 (patch)
tree283cbbcdfd497eddc08377b2f8c22f63a671b78a /transmitters/nice
parent90977a2080eef430c3f1a8d1abe591b872ba62dc (diff)
downloadfarstream-768ee96f5d80132f26b7217e885631ecf97865e7.tar.gz
Set the sinks async=sync=FALSE before adding them to their parent bins
Diffstat (limited to 'transmitters/nice')
-rw-r--r--transmitters/nice/fs-nice-transmitter.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/transmitters/nice/fs-nice-transmitter.c b/transmitters/nice/fs-nice-transmitter.c
index 93396255..d97421f5 100644
--- a/transmitters/nice/fs-nice-transmitter.c
+++ b/transmitters/nice/fs-nice-transmitter.c
@@ -317,6 +317,11 @@ fs_nice_transmitter_constructed (GObject *object)
return;
}
+ g_object_set (fakesink,
+ "async", FALSE,
+ "sync" , FALSE,
+ NULL);
+
if (!gst_bin_add (GST_BIN (self->priv->gst_sink), fakesink))
{
gst_object_unref (fakesink);
@@ -326,11 +331,6 @@ fs_nice_transmitter_constructed (GObject *object)
return;
}
- g_object_set (fakesink,
- "async", FALSE,
- "sync" , FALSE,
- NULL);
-
pad = gst_element_get_request_pad (self->priv->sink_tees[c], "src%d");
pad2 = gst_element_get_static_pad (fakesink, "sink");