[farsight2/master] Set link to playing before linking it
Olivier Crête
olivier.crete at collabora.co.uk
Tue May 26 12:52:27 PDT 2009
---
gst/fsrtpconference/fs-rtp-session.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 07941d3..8538687 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -1857,6 +1857,8 @@ fs_rtp_session_add_transmitter_gst_sink (FsRtpSession *self,
goto error;
}
+ gst_element_sync_state_with_parent (sink);
+
if (!_get_request_pad_and_link (self->priv->transmitter_rtp_tee,
"rtp tee", sink, "sink1", GST_PAD_SINK, error))
goto error;
@@ -1865,8 +1867,6 @@ fs_rtp_session_add_transmitter_gst_sink (FsRtpSession *self,
"rtcp tee", sink, "sink2", GST_PAD_SINK, error))
goto error;
- gst_element_sync_state_with_parent (sink);
-
gst_object_unref (sink);
return TRUE;
--
1.5.6.5
More information about the farsight-commits
mailing list