[farsight2/master] Sync the capsfilter too (not the sink twice)

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


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

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 06a3e58..a42a8f2 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -3310,7 +3310,8 @@ fs_rtp_session_get_codec_params (FsRtpSession *session, CodecAssociation *ca,
       goto error;
     }
 
-    if (!gst_element_sync_state_with_parent (session->priv->discovery_fakesink))
+    if (!gst_element_sync_state_with_parent (
+            session->priv->discovery_capsfilter))
     {
       g_set_error (error, FS_ERROR, FS_ERROR_CONSTRUCTION,
           "Could not sync the discovery capsfilter's state with its parent");
-- 
1.5.6.5




More information about the farsight-commits mailing list