taglist: add GST_TAG_CONDUCTOR
authorAdam Miartus <adam.miartus@streamunlimited.com>
Thu, 10 Dec 2015 14:32:27 +0000 (15:32 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 22 Feb 2016 21:12:37 +0000 (21:12 +0000)
This is useful for metadata which explicitely distinguishes
between artist/composer and conductor.

https://bugzilla.gnome.org/show_bug.cgi?id=762450

gst/gsttaglist.c
gst/gsttaglist.h

index 8018dda73a9dbb72f39399a809a49ae3473942dc..3f5d47e9dcd7abc692c308fbe449c2cc87ad4020 100644 (file)
@@ -221,6 +221,10 @@ _priv_gst_tag_initialize (void)
       _("composer"),
       _("person(s) who composed the recording"),
       gst_tag_merge_strings_with_comma);
+  gst_tag_register_static (GST_TAG_CONDUCTOR, GST_TAG_FLAG_META,
+      G_TYPE_STRING,
+      _("conductor"),
+      _("conductor/performer refinement"), gst_tag_merge_strings_with_comma);
   gst_tag_register_static (GST_TAG_DURATION, GST_TAG_FLAG_DECODED,
       G_TYPE_UINT64,
       _("duration"), _("length in GStreamer time units (nanoseconds)"), NULL);
index 21ff06d6905b022477c78d6fa73a4aab670fc166..4dc544be3d5913c4b58bae9485a495759bff6982 100644 (file)
@@ -529,6 +529,14 @@ gst_tag_list_copy (const GstTagList * taglist)
  * person(s) who composed the recording (string)
  */
 #define GST_TAG_COMPOSER               "composer"
+/**
+ * GST_TAG_CONDUCTOR:
+ *
+ * conductor/performer refinement (string)
+ *
+ * Since: 1.8
+ */
+#define GST_TAG_CONDUCTOR               "conductor"
 /**
  * GST_TAG_DATE:
  *