From 44423e8af3adf99122de2ac53e8d840a46a7d329 Mon Sep 17 00:00:00 2001 From: Adam Miartus Date: Thu, 10 Dec 2015 15:32:27 +0100 Subject: [PATCH] taglist: add GST_TAG_CONDUCTOR 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 | 4 ++++ gst/gsttaglist.h | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/gst/gsttaglist.c b/gst/gsttaglist.c index 8018dda73a..3f5d47e9dc 100644 --- a/gst/gsttaglist.c +++ b/gst/gsttaglist.c @@ -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); diff --git a/gst/gsttaglist.h b/gst/gsttaglist.h index 21ff06d690..4dc544be3d 100644 --- a/gst/gsttaglist.h +++ b/gst/gsttaglist.h @@ -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: *