summaryrefslogtreecommitdiff
path: root/gst/id3tag
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-22 01:27:09 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-22 01:30:48 +0100
commit02bff8754b34a3d5f596f26c8dd7e83ae356130f (patch)
tree89a71318d6618f03ef985bf93760f96ada1eaaf9 /gst/id3tag
parent27f1e03661e2e9fb0862ccdf18b100c89481a718 (diff)
downloadgstreamer-plugins-bad-02bff8754b34a3d5f596f26c8dd7e83ae356130f.tar.gz
id3tag: register GType of the base class with a less generic name
.. so we can easily move the base class into -base later without causing GType name conflicts.
Diffstat (limited to 'gst/id3tag')
-rw-r--r--gst/id3tag/gsttagmux.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gst/id3tag/gsttagmux.c b/gst/id3tag/gsttagmux.c
index bfa4e1bcc..257f82bb6 100644
--- a/gst/id3tag/gsttagmux.c
+++ b/gst/id3tag/gsttagmux.c
@@ -55,7 +55,12 @@ gst_tag_mux_iface_init (GType tag_type)
g_type_add_interface_static (tag_type, GST_TYPE_TAG_SETTER, &tag_setter_info);
}
-GST_BOILERPLATE_FULL (GstTagMux, gst_tag_mux,
+/* 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;
+
+GST_BOILERPLATE_FULL (GstID3TagMux, gst_tag_mux,
GstElement, GST_TYPE_ELEMENT, gst_tag_mux_iface_init);