[farsight2/master] Rename load/unload_codecs to fs_rtp_blueprints_get/unref
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:19:51 PST 2008
---
gst/fsrtpconference/fs-rtp-discover-codecs.c | 6 +++---
gst/fsrtpconference/fs-rtp-discover-codecs.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-discover-codecs.c b/gst/fsrtpconference/fs-rtp-discover-codecs.c
index d6aeed1..719151a 100644
--- a/gst/fsrtpconference/fs-rtp-discover-codecs.c
+++ b/gst/fsrtpconference/fs-rtp-discover-codecs.c
@@ -197,7 +197,7 @@ codec_cap_list_free (GList *list)
}
/**
- * load_codecs:
+ * fs_rtp_blueprints_get
* @media_type: a #FsMediaType
*
* find all plugins that follow the pattern:
@@ -208,7 +208,7 @@ codec_cap_list_free (GList *list)
* Returns : a #GList of #CodecBlueprint or NULL on error
*/
GList *
-load_codecs (FsMediaType media_type, GError **error)
+fs_rtp_blueprints_get (FsMediaType media_type, GError **error)
{
GstCaps *caps;
GList *recv_list = NULL;
@@ -892,7 +892,7 @@ codec_blueprint_destroy (CodecBlueprint *codec_blueprint)
}
void
-unload_codecs (FsMediaType media_type)
+fs_rtp_blueprints_unref (FsMediaType media_type)
{
codecs_lists_ref[media_type]--;
if (!codecs_lists_ref[media_type])
diff --git a/gst/fsrtpconference/fs-rtp-discover-codecs.h b/gst/fsrtpconference/fs-rtp-discover-codecs.h
index 19deed9..2b7193c 100644
--- a/gst/fsrtpconference/fs-rtp-discover-codecs.h
+++ b/gst/fsrtpconference/fs-rtp-discover-codecs.h
@@ -43,8 +43,8 @@ typedef struct _CodecBlueprint
GList *receive_pipeline_factory;
} CodecBlueprint;
-GList *load_codecs (FsMediaType media_type, GError **error);
-void unload_codecs (FsMediaType media_type);
+GList *fs_rtp_blueprints_get (FsMediaType media_type, GError **error);
+void fs_rtp_blueprints_unref (FsMediaType media_type);
/*
--
1.5.6.5
More information about the farsight-commits
mailing list