[farsight2/master] rtp: Remove unused arguments

Olivier Crête olivier.crete at collabora.co.uk
Tue Jul 21 13:17:26 PDT 2009


---
 gst/fsrtpconference/fs-rtp-session.c        |    4 +---
 gst/fsrtpconference/fs-rtp-special-source.c |    6 +-----
 gst/fsrtpconference/fs-rtp-special-source.h |    4 +---
 3 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 58e571d..a1d309b 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -3368,9 +3368,7 @@ fs_rtp_session_remove_send_codec_bin (FsRtpSession *self,
         &self->priv->extra_sources,
         &self->priv->codec_associations,
         FS_RTP_SESSION_GET_LOCK (self),
-        codec_without_config,
-        GST_ELEMENT (self->priv->conference),
-        self->priv->rtpmuxer);
+        codec_without_config);
 
   return TRUE;
 }
diff --git a/gst/fsrtpconference/fs-rtp-special-source.c b/gst/fsrtpconference/fs-rtp-special-source.c
index 45d1506..2e5ed66 100644
--- a/gst/fsrtpconference/fs-rtp-special-source.c
+++ b/gst/fsrtpconference/fs-rtp-special-source.c
@@ -445,8 +445,6 @@ _source_order_compare_func (gconstpointer item1,gconstpointer item2)
  * #CodecAssociation
  * @mutex: the mutex protecting the last two things
  * @send_codec: A pointer to the currently selected send codec
- * @bin: The #GstBin to add the stuff to
- * @rtpmuxer: The rtpmux element
  *
  * This function removes any special source that are not compatible with the
  * currently selected send codec.
@@ -456,9 +454,7 @@ fs_rtp_special_sources_remove (
     GList **extra_sources,
     GList **negotiated_codecs,
     GMutex *mutex,
-    FsCodec *send_codec,
-    GstElement *bin,
-    GstElement *rtpmuxer)
+    FsCodec *send_codec)
 {
   GList *klass_item = NULL;
 
diff --git a/gst/fsrtpconference/fs-rtp-special-source.h b/gst/fsrtpconference/fs-rtp-special-source.h
index 7fde0a4..9cc07c9 100644
--- a/gst/fsrtpconference/fs-rtp-special-source.h
+++ b/gst/fsrtpconference/fs-rtp-special-source.h
@@ -118,9 +118,7 @@ fs_rtp_special_sources_remove (
     GList **current_extra_sources,
     GList **negotiated_codecs,
     GMutex *mutex,
-    FsCodec *send_codec,
-    GstElement *bin,
-    GstElement *rtpmuxer);
+    FsCodec *send_codec);
 
 void
 fs_rtp_special_sources_create (
-- 
1.5.6.5




More information about the farsight-commits mailing list