summaryrefslogtreecommitdiffstats
path: root/gst-libs
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-02-25 09:05:38 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-02-25 09:05:38 +0000
commit061d780c8fec63e3beb56c28f9249c23d5871e5a (patch)
treeba63994f06fd3d37b267c7d4ab7defd5e936ae33 /gst-libs
parent569a956443cdbbb0bc1b3399f8a25dddf41fb8c1 (diff)
downloadgst-plugins-bad-061d780c8fec63e3beb56c28f9249c23d5871e5a.tar.gz
gst-plugins-bad-061d780c8fec63e3beb56c28f9249c23d5871e5a.tar.bz2
gst-plugins-bad-061d780c8fec63e3beb56c28f9249c23d5871e5a.zip
gst-libs/gst/tag/tag.h: Add the MusicBrainz tags and prototype gst_tag_register_musicbrainz_tags().
Original commit message from CVS: Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> * gst-libs/gst/tag/tag.h: Add the MusicBrainz tags and prototype gst_tag_register_musicbrainz_tags(). * gst/tags/Makefile.am: Add tags.c. * gst/tags/tags.c: Implement gst_tag_register_musicbrainz_tags(). * ext/vorbis/oggvorbisenc.c: Register the MusicBrainz tags. * gst/tags/gstvorbistag.c: Add mapping for MusicBrainz tags. All above fixes #167639.
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/tag/tag.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/gst-libs/gst/tag/tag.h b/gst-libs/gst/tag/tag.h
index 97eaf936..5e1cef0d 100644
--- a/gst-libs/gst/tag/tag.h
+++ b/gst-libs/gst/tag/tag.h
@@ -25,6 +25,45 @@
G_BEGIN_DECLS
+/* Tag names */
+
+/**
+ * GST_TAG_MUSICBRAINZ_TRACKID
+ *
+ * MusicBrainz track ID
+ */
+#define GST_TAG_MUSICBRAINZ_TRACKID "musicbrainz-trackid"
+/**
+ * GST_TAG_MUSICBRAINZ_ARTISTID
+ *
+ * MusicBrainz artist ID
+ */
+#define GST_TAG_MUSICBRAINZ_ARTISTID "musicbrainz-artistid"
+/**
+ * GST_TAG_MUSICBRAINZ_ALBUMID
+ *
+ * MusicBrainz album ID
+ */
+#define GST_TAG_MUSICBRAINZ_ALBUMID "musicbrainz-albumid"
+/**
+ * GST_TAG_MUSICBRAINZ_ALBUMARTISTID
+ *
+ * MusicBrainz album artist ID
+ */
+#define GST_TAG_MUSICBRAINZ_ALBUMARTISTID "musicbrainz-albumartistid"
+/**
+ * GST_TAG_MUSICBRAINZ_TRMID
+ *
+ * MusicBrainz track TRM ID
+ */
+#define GST_TAG_MUSICBRAINZ_TRMID "musicbrainz-trmid"
+/**
+ * GST_TAG_MUSICBRAINZ_SORTNAME
+ *
+ * MusicBrainz artist sort name
+ */
+#define GST_TAG_MUSICBRAINZ_SORTNAME "musicbrainz-sortname"
+
/* functions for vorbis comment manipulation */
@@ -56,6 +95,7 @@ GstTagList * gst_tag_list_new_from_id3v1 (const guint8 * data);
G_CONST_RETURN gchar * gst_tag_from_id3_tag (const gchar * vorbis_tag);
G_CONST_RETURN gchar * gst_tag_to_id3_tag (const gchar * gst_tag);
+void gst_tag_register_musicbrainz_tags (void);
G_END_DECLS