[farsight2/master] Set the transmitter elements to the same state as the conference

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:19:42 PST 2008


---
 gst/fsrtpconference/fs-rtp-session.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 83f6f9a..2375b17 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -897,6 +897,9 @@ fs_rtp_session_get_new_stream_transmitter (FsRtpSession *self,
       "rtcp funnel", src, "src2", GST_PAD_SRC, error))
     goto error;
 
+  gst_element_sync_state_with_parent (src);
+  gst_element_sync_state_with_parent (sink);
+
   g_hash_table_insert (self->priv->transmitters, g_strdup (transmitter_name),
     transmitter);
 
-- 
1.5.6.5




More information about the farsight-commits mailing list