[farsight2/master] Set extra capsfilters to playing too

Olivier Crête olivier.crete at collabora.co.uk
Fri Dec 19 19:43:19 PST 2008


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

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 3dadc10..721bbd0 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -3054,6 +3054,15 @@ link_other_pads (gpointer item, GValue *ret, gpointer user_data)
     return FALSE;
   }
 
+
+  if (!gst_element_sync_state_with_parent (capsfilter))
+  {
+    g_set_error (data->error, FS_ERROR, FS_ERROR_CONSTRUCTION,
+        "Could not sync the state of the extra send capsfilter"
+        " with the state of the conference");
+    goto error;
+  }
+
   return TRUE;
 
  error:
-- 
1.5.6.5




More information about the farsight-commits mailing list