[farsight2/master] Remove dead code

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


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

diff --git a/gst/fsrtpconference/fs-rtp-substream.c b/gst/fsrtpconference/fs-rtp-substream.c
index 7f3f2f8..d29665d 100644
--- a/gst/fsrtpconference/fs-rtp-substream.c
+++ b/gst/fsrtpconference/fs-rtp-substream.c
@@ -681,15 +681,6 @@ fs_rtp_sub_stream_add_codecbin_locked (FsRtpSubStream *substream,
     return TRUE;
   }
 
-  /* Announce the pad if it wasnt there already and this substream
-   * has a stream
-   */
-  if (!substream->priv->output_ghostpad &&
-      substream->priv->stream)
-    return fs_rtp_sub_stream_add_output_ghostpad_locked (substream, error);
-  else
-    return TRUE;
-
  error:
     gst_element_set_state (codecbin, GST_STATE_NULL);
     gst_object_ref (codecbin);
-- 
1.5.6.5




More information about the farsight-commits mailing list