[farsight2/master] Make new_recv_codec_bin_locked method private

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


---
 gst/fsrtpconference/fs-rtp-session.c |   11 +++++++++--
 gst/fsrtpconference/fs-rtp-session.h |    6 ------
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 650f1ec..81a3e0c 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -201,6 +201,13 @@ static FsStreamTransmitter *fs_rtp_session_get_new_stream_transmitter (
   GParameter *parameters,
   GError **error);
 
+static GstElement *
+fs_rtp_session_new_recv_codec_bin_locked (FsRtpSession *session,
+    guint32 ssrc,
+    guint pt,
+    FsCodec **out_codec,
+    GError **error);b
+
 static void
 _remove_stream (gpointer user_data,
     GObject *where_the_object_was);
@@ -2064,7 +2071,7 @@ _create_codec_bin (CodecBlueprint *blueprint, const FsCodec *codec,
 }
 
 /**
- * fs_rtp_session_new_recv_codec_bin:
+ * fs_rtp_session_new_recv_codec_bin_locked:
  * @session: a #FsRtpSession
  * @ssrc: The SSRC that this codec bin will receive from
  * @pt: The payload type to create a codec bin for
@@ -2079,7 +2086,7 @@ _create_codec_bin (CodecBlueprint *blueprint, const FsCodec *codec,
  * Returns: a newly-allocated codec bin
  */
 
-GstElement *
+static GstElement *
 fs_rtp_session_new_recv_codec_bin_locked (FsRtpSession *session,
     guint32 ssrc,
     guint pt,
diff --git a/gst/fsrtpconference/fs-rtp-session.h b/gst/fsrtpconference/fs-rtp-session.h
index 74cdfdd..6df3af0 100644
--- a/gst/fsrtpconference/fs-rtp-session.h
+++ b/gst/fsrtpconference/fs-rtp-session.h
@@ -92,12 +92,6 @@ GstCaps *fs_rtp_session_request_pt_map (FsRtpSession *session, guint pt);
 void fs_rtp_session_new_recv_pad (FsRtpSession *session, GstPad *new_pad,
   guint32 ssrc, guint pt);
 
-GstElement *fs_rtp_session_new_recv_codec_bin_locked (FsRtpSession *session,
-    guint32 ssrc,
-    guint pt,
-    FsCodec **out_codec,
-    GError **error);
-
 FsCodec *fs_rtp_session_get_recv_codec_for_pt (FsRtpSession *session,
     gint pt);
 
-- 
1.5.6.5




More information about the farsight-commits mailing list