summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-22 09:54:57 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-22 09:54:57 +0100
commite5b1c976c4dbbea82d0bc1f0de7c0bf4b6d1705d (patch)
tree85788ce19edbfe2bc5fa810e1e82dabc284003a0 /gst
parentfdaeae57c90ebd1fa001f398be6fec9050129781 (diff)
downloadgst-plugins-bad-e5b1c976c4dbbea82d0bc1f0de7c0bf4b6d1705d.tar.gz
gst-plugins-bad-e5b1c976c4dbbea82d0bc1f0de7c0bf4b6d1705d.tar.bz2
gst-plugins-bad-e5b1c976c4dbbea82d0bc1f0de7c0bf4b6d1705d.zip
id3tag: canonicalise function names
Diffstat (limited to 'gst')
-rw-r--r--gst/id3tag/gstid3tag.c38
-rw-r--r--gst/id3tag/gstid3tag.h4
-rw-r--r--gst/id3tag/id3tag.c4
3 files changed, 23 insertions, 23 deletions
diff --git a/gst/id3tag/gstid3tag.c b/gst/id3tag/gstid3tag.c
index 98b05d0d..9c8072c0 100644
--- a/gst/id3tag/gstid3tag.c
+++ b/gst/id3tag/gstid3tag.c
@@ -56,8 +56,8 @@
#include <string.h>
-GST_DEBUG_CATEGORY (gst_id3tag_debug);
-#define GST_CAT_DEFAULT gst_id3tag_debug
+GST_DEBUG_CATEGORY (gst_id3_tag_debug);
+#define GST_CAT_DEFAULT gst_id3_tag_debug
enum
{
@@ -76,20 +76,20 @@ static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("application/x-id3"));
-GST_BOILERPLATE (GstId3Tag, gst_id3tag, GstTagMux, GST_TYPE_TAG_MUX);
+GST_BOILERPLATE (GstId3Tag, gst_id3_tag, GstTagMux, GST_TYPE_TAG_MUX);
-static GstBuffer *gst_id3tag_render_v2_tag (GstTagMux * mux,
+static GstBuffer *gst_id3_tag_render_v2_tag (GstTagMux * mux,
GstTagList * taglist);
-static GstBuffer *gst_id3tag_render_v1_tag (GstTagMux * mux,
+static GstBuffer *gst_id3_tag_render_v1_tag (GstTagMux * mux,
GstTagList * taglist);
-static void gst_id3tag_set_property (GObject * object, guint prop_id,
+static void gst_id3_tag_set_property (GObject * object, guint prop_id,
const GValue * value, GParamSpec * pspec);
-static void gst_id3tag_get_property (GObject * object, guint prop_id,
+static void gst_id3_tag_get_property (GObject * object, guint prop_id,
GValue * value, GParamSpec * pspec);
static void
-gst_id3tag_base_init (gpointer g_class)
+gst_id3_tag_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
@@ -102,17 +102,17 @@ gst_id3tag_base_init (gpointer g_class)
"Michael Smith <msmith@songbirdnest.com>, "
"Tim-Philipp Müller <tim centricular net>");
- GST_DEBUG_CATEGORY_INIT (gst_id3tag_debug, "id3tag", 0,
+ GST_DEBUG_CATEGORY_INIT (gst_id3_tag_debug, "id3tag", 0,
"ID3 v1 and v2 tag muxer");
}
static void
-gst_id3tag_class_init (GstId3TagClass * klass)
+gst_id3_tag_class_init (GstId3TagClass * klass)
{
GObjectClass *gobject_class = (GObjectClass *) klass;
- gobject_class->set_property = gst_id3tag_set_property;
- gobject_class->get_property = gst_id3tag_get_property;
+ gobject_class->set_property = gst_id3_tag_set_property;
+ gobject_class->get_property = gst_id3_tag_get_property;
g_object_class_install_property (gobject_class, ARG_WRITE_V1,
g_param_spec_boolean ("write-v1", "Write id3v1 tag",
@@ -131,13 +131,13 @@ gst_id3tag_class_init (GstId3TagClass * klass)
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
GST_TAG_MUX_CLASS (klass)->render_start_tag =
- GST_DEBUG_FUNCPTR (gst_id3tag_render_v2_tag);
+ GST_DEBUG_FUNCPTR (gst_id3_tag_render_v2_tag);
- GST_TAG_MUX_CLASS (klass)->render_end_tag = gst_id3tag_render_v1_tag;
+ GST_TAG_MUX_CLASS (klass)->render_end_tag = gst_id3_tag_render_v1_tag;
}
static void
-gst_id3tag_init (GstId3Tag * id3mux, GstId3TagClass * id3mux_class)
+gst_id3_tag_init (GstId3Tag * id3mux, GstId3TagClass * id3mux_class)
{
id3mux->write_v1 = DEFAULT_WRITE_V1;
id3mux->write_v2 = DEFAULT_WRITE_V2;
@@ -146,7 +146,7 @@ gst_id3tag_init (GstId3Tag * id3mux, GstId3TagClass * id3mux_class)
}
static void
-gst_id3tag_set_property (GObject * object, guint prop_id,
+gst_id3_tag_set_property (GObject * object, guint prop_id,
const GValue * value, GParamSpec * pspec)
{
GstId3Tag *mux = GST_ID3TAG (object);
@@ -168,7 +168,7 @@ gst_id3tag_set_property (GObject * object, guint prop_id,
}
static void
-gst_id3tag_get_property (GObject * object, guint prop_id,
+gst_id3_tag_get_property (GObject * object, guint prop_id,
GValue * value, GParamSpec * pspec)
{
GstId3Tag *mux = GST_ID3TAG (object);
@@ -190,7 +190,7 @@ gst_id3tag_get_property (GObject * object, guint prop_id,
}
static GstBuffer *
-gst_id3tag_render_v2_tag (GstTagMux * mux, GstTagList * taglist)
+gst_id3_tag_render_v2_tag (GstTagMux * mux, GstTagList * taglist)
{
GstId3Tag *id3mux = GST_ID3TAG (mux);
@@ -201,7 +201,7 @@ gst_id3tag_render_v2_tag (GstTagMux * mux, GstTagList * taglist)
}
static GstBuffer *
-gst_id3tag_render_v1_tag (GstTagMux * mux, GstTagList * taglist)
+gst_id3_tag_render_v1_tag (GstTagMux * mux, GstTagList * taglist)
{
GstId3Tag *id3mux = GST_ID3TAG (mux);
diff --git a/gst/id3tag/gstid3tag.h b/gst/id3tag/gstid3tag.h
index 60643594..a9a1ad1c 100644
--- a/gst/id3tag/gstid3tag.h
+++ b/gst/id3tag/gstid3tag.h
@@ -45,7 +45,7 @@ struct _GstId3TagClass {
};
#define GST_TYPE_ID3TAG \
- (gst_id3tag_get_type())
+ (gst_id3_tag_get_type())
#define GST_ID3TAG(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_ID3TAG,GstId3Tag))
#define GST_ID3TAG_CLASS(klass) \
@@ -55,7 +55,7 @@ struct _GstId3TagClass {
#define GST_IS_ID3TAG_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_ID3TAG))
-GType gst_id3tag_get_type (void);
+GType gst_id3_tag_get_type (void);
G_END_DECLS
diff --git a/gst/id3tag/id3tag.c b/gst/id3tag/id3tag.c
index 0e040f7e..a39e2a8e 100644
--- a/gst/id3tag/id3tag.c
+++ b/gst/id3tag/id3tag.c
@@ -25,8 +25,8 @@
#include <gst/tag/tag.h>
-GST_DEBUG_CATEGORY_EXTERN (gst_id3tag_debug);
-#define GST_CAT_DEFAULT gst_id3tag_debug
+GST_DEBUG_CATEGORY_EXTERN (gst_id3_tag_debug);
+#define GST_CAT_DEFAULT gst_id3_tag_debug
#define ID3V2_APIC_PICTURE_OTHER 0
#define ID3V2_APIC_PICTURE_FILE_ICON 1