diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-05-22 01:27:09 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-05-22 01:30:48 +0100 |
commit | 02bff8754b34a3d5f596f26c8dd7e83ae356130f (patch) | |
tree | 89a71318d6618f03ef985bf93760f96ada1eaaf9 | |
parent | 27f1e03661e2e9fb0862ccdf18b100c89481a718 (diff) | |
download | gst-plugins-bad-02bff8754b34a3d5f596f26c8dd7e83ae356130f.tar.gz gst-plugins-bad-02bff8754b34a3d5f596f26c8dd7e83ae356130f.tar.bz2 gst-plugins-bad-02bff8754b34a3d5f596f26c8dd7e83ae356130f.zip |
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.
-rw-r--r-- | gst/id3tag/gsttagmux.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gst/id3tag/gsttagmux.c b/gst/id3tag/gsttagmux.c index bfa4e1bc..257f82bb 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); |