[farsight2/master] Remove useless check

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 14:05:52 PST 2008


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

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index fbaf504..561c580 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -3378,15 +3378,11 @@ _send_src_pad_blocked_callback (GstPad *pad, gboolean blocked,
 
   FS_RTP_SESSION_LOCK (self);
 
-    self->priv->extra_sources = fs_rtp_special_sources_create (
+  self->priv->extra_sources = fs_rtp_special_sources_create (
       self->priv->extra_sources,
       self->priv->codec_associations, codec_without_config,
       GST_ELEMENT (self->priv->conference),
       self->priv->rtpmuxer);
-  if (error)
-    fs_session_emit_error (FS_SESSION (self), FS_ERROR_INTERNAL,
-        "Could not create special sources",
-        "Could not create special sources");
 
  done_locked:
 
-- 
1.5.6.5




More information about the farsight-commits mailing list