[farsight2/master] Make codec_copy_without_config "public"

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


---
 gst/fsrtpconference/fs-rtp-specific-nego.c |   11 ++++++++++-
 gst/fsrtpconference/fs-rtp-specific-nego.h |    3 +++
 2 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-specific-nego.c b/gst/fsrtpconference/fs-rtp-specific-nego.c
index 2106429..fae6b25 100644
--- a/gst/fsrtpconference/fs-rtp-specific-nego.c
+++ b/gst/fsrtpconference/fs-rtp-specific-nego.c
@@ -128,7 +128,16 @@ codec_has_config_data_named (FsCodec *codec, const gchar *name)
   return FALSE;
 }
 
-static FsCodec *
+/**
+ * codec_copy_without_config:
+ * @codec: a #FsCodec
+ *
+ * Makes a copy of a #FsCodec, but removes all configuration parameters
+ *
+ * Returns: the newly-allocated #FsCodec
+ */
+
+FsCodec *
 codec_copy_without_config (FsCodec *codec)
 {
   FsCodec *copy = fs_codec_copy (codec);
diff --git a/gst/fsrtpconference/fs-rtp-specific-nego.h b/gst/fsrtpconference/fs-rtp-specific-nego.h
index b9b03cb..9bb0249 100644
--- a/gst/fsrtpconference/fs-rtp-specific-nego.h
+++ b/gst/fsrtpconference/fs-rtp-specific-nego.h
@@ -40,6 +40,9 @@ codec_needs_config (FsCodec *codec);
 gboolean
 codec_has_config_data_named (FsCodec *codec, const gchar *name);
 
+FsCodec *
+codec_copy_without_config (FsCodec *codec);
+
 G_END_DECLS
 
 #endif
-- 
1.5.6.5




More information about the farsight-commits mailing list