[farsight2/master] Remove unused media_type argument

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


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

diff --git a/gst/fsrtpconference/fs-rtp-codec-negotiation.c b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
index ac43f7b..cd17a94 100644
--- a/gst/fsrtpconference/fs-rtp-codec-negotiation.c
+++ b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
@@ -250,7 +250,7 @@ _is_disabled (GList *codec_prefs, CodecBlueprint *bp)
 
 
 GList *
-create_local_codec_associations (FsMediaType media_type,
+create_local_codec_associations (
     GList *blueprints,
     GList *codec_prefs,
     GList *current_codec_associations,
diff --git a/gst/fsrtpconference/fs-rtp-codec-negotiation.h b/gst/fsrtpconference/fs-rtp-codec-negotiation.h
index 6273cff..5ef0ce3 100644
--- a/gst/fsrtpconference/fs-rtp-codec-negotiation.h
+++ b/gst/fsrtpconference/fs-rtp-codec-negotiation.h
@@ -52,7 +52,6 @@ GList *validate_codecs_configuration (
 
 GList *
 create_local_codec_associations (
-    FsMediaType media_type,
     GList *blueprints,
     GList *codec_prefs,
     GList *current_codec_associations,
diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 7230d27..fbba54f 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -631,7 +631,7 @@ fs_rtp_session_constructed (GObject *object)
   }
 
   self->priv->local_codec_associations = create_local_codec_associations (
-      self->priv->media_type, self->priv->blueprints,
+      self->priv->blueprints,
       NULL, /* there are no local codec configurations yet */
       NULL,
       &self->priv->local_codecs);
@@ -1241,8 +1241,7 @@ fs_rtp_session_set_local_codecs_config (FsSession *session,
         " this will restore the original list of detected codecs");
 
   new_local_codec_associations = create_local_codec_associations (
-      self->priv->media_type, self->priv->blueprints,
-      new_local_codecs_configuration,
+      self->priv->blueprints, new_local_codecs_configuration,
       self->priv->local_codec_associations,
       &new_local_codecs);
 
-- 
1.5.6.5




More information about the farsight-commits mailing list