diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-05-22 09:51:29 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-05-22 09:51:29 +0100 |
commit | fdaeae57c90ebd1fa001f398be6fec9050129781 (patch) | |
tree | 647c39d9e904440a0844b382f61b9cdac60aa6d8 /gst | |
parent | ae09a20cd011cc466def485cf8819ba7cf7e5cd7 (diff) | |
download | gst-plugins-bad-fdaeae57c90ebd1fa001f398be6fec9050129781.tar.gz gst-plugins-bad-fdaeae57c90ebd1fa001f398be6fec9050129781.tar.bz2 gst-plugins-bad-fdaeae57c90ebd1fa001f398be6fec9050129781.zip |
id3tag: change GType to GstId3Tag so it doesn't conflict with the id3tag plugin in -ugly
Diffstat (limited to 'gst')
-rw-r--r-- | gst/id3tag/gstid3tag.c | 14 | ||||
-rw-r--r-- | gst/id3tag/gstid3tag.h | 12 | ||||
-rw-r--r-- | gst/id3tag/gsttagmux.c | 6 |
3 files changed, 16 insertions, 16 deletions
diff --git a/gst/id3tag/gstid3tag.c b/gst/id3tag/gstid3tag.c index f67d781f..98b05d0d 100644 --- a/gst/id3tag/gstid3tag.c +++ b/gst/id3tag/gstid3tag.c @@ -76,7 +76,7 @@ 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_id3tag, GstTagMux, GST_TYPE_TAG_MUX); static GstBuffer *gst_id3tag_render_v2_tag (GstTagMux * mux, GstTagList * taglist); @@ -107,7 +107,7 @@ gst_id3tag_base_init (gpointer g_class) } static void -gst_id3tag_class_init (GstID3TagClass * klass) +gst_id3tag_class_init (GstId3TagClass * klass) { GObjectClass *gobject_class = (GObjectClass *) klass; @@ -137,7 +137,7 @@ gst_id3tag_class_init (GstID3TagClass * klass) } static void -gst_id3tag_init (GstID3Tag * id3mux, GstID3TagClass * id3mux_class) +gst_id3tag_init (GstId3Tag * id3mux, GstId3TagClass * id3mux_class) { id3mux->write_v1 = DEFAULT_WRITE_V1; id3mux->write_v2 = DEFAULT_WRITE_V2; @@ -149,7 +149,7 @@ static void gst_id3tag_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) { - GstID3Tag *mux = GST_ID3TAG (object); + GstId3Tag *mux = GST_ID3TAG (object); switch (prop_id) { case ARG_WRITE_V1: @@ -171,7 +171,7 @@ static void gst_id3tag_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { - GstID3Tag *mux = GST_ID3TAG (object); + GstId3Tag *mux = GST_ID3TAG (object); switch (prop_id) { case ARG_WRITE_V1: @@ -192,7 +192,7 @@ gst_id3tag_get_property (GObject * object, guint prop_id, static GstBuffer * gst_id3tag_render_v2_tag (GstTagMux * mux, GstTagList * taglist) { - GstID3Tag *id3mux = GST_ID3TAG (mux); + GstId3Tag *id3mux = GST_ID3TAG (mux); if (id3mux->write_v2) return gst_id3mux_render_v2_tag (mux, taglist, id3mux->v2_major_version); @@ -203,7 +203,7 @@ gst_id3tag_render_v2_tag (GstTagMux * mux, GstTagList * taglist) static GstBuffer * gst_id3tag_render_v1_tag (GstTagMux * mux, GstTagList * taglist) { - GstID3Tag *id3mux = GST_ID3TAG (mux); + GstId3Tag *id3mux = GST_ID3TAG (mux); if (id3mux->write_v1) return gst_id3mux_render_v1_tag (mux, taglist); diff --git a/gst/id3tag/gstid3tag.h b/gst/id3tag/gstid3tag.h index 6b33df25..60643594 100644 --- a/gst/id3tag/gstid3tag.h +++ b/gst/id3tag/gstid3tag.h @@ -28,10 +28,10 @@ G_BEGIN_DECLS -typedef struct _GstID3Tag GstID3Tag; -typedef struct _GstID3TagClass GstID3TagClass; +typedef struct _GstId3Tag GstId3Tag; +typedef struct _GstId3TagClass GstId3TagClass; -struct _GstID3Tag { +struct _GstId3Tag { GstTagMux tagmux; gboolean write_v1; @@ -40,16 +40,16 @@ struct _GstID3Tag { gint v2_major_version; }; -struct _GstID3TagClass { +struct _GstId3TagClass { GstTagMuxClass tagmux_class; }; #define GST_TYPE_ID3TAG \ (gst_id3tag_get_type()) #define GST_ID3TAG(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_ID3TAG,GstID3Tag)) + (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_ID3TAG,GstId3Tag)) #define GST_ID3TAG_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_ID3TAG,GstID3TagClass)) + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_ID3TAG,GstId3TagClass)) #define GST_IS_ID3TAG(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_ID3TAG)) #define GST_IS_ID3TAG_CLASS(klass) \ diff --git a/gst/id3tag/gsttagmux.c b/gst/id3tag/gsttagmux.c index 257f82bb..3b7ff119 100644 --- a/gst/id3tag/gsttagmux.c +++ b/gst/id3tag/gsttagmux.c @@ -57,10 +57,10 @@ gst_tag_mux_iface_init (GType tag_type) /* make sure to register a less generic type so we can easily move this * GstTagMux base class into -base without causing GType name conflicts */ -typedef GstTagMux GstID3TagMux; -typedef GstTagMuxClass GstID3TagMuxClass; +typedef GstTagMux GstId3TagMux; +typedef GstTagMuxClass GstId3TagMuxClass; -GST_BOILERPLATE_FULL (GstID3TagMux, gst_tag_mux, +GST_BOILERPLATE_FULL (GstId3TagMux, gst_tag_mux, GstElement, GST_TYPE_ELEMENT, gst_tag_mux_iface_init); |