diff --git a/ChangeLog b/ChangeLog index f79b8125ec..ed89c792ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-07-26 Tim-Philipp Müller + + * docs/gst/gstreamer-sections.txt: + * gst/gsttaglist.c: + * gst/gsttaglist.h: + API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939). + 2007-07-26 Jan Schmidt * docs/libs/Makefile.am: diff --git a/docs/gst/gstreamer-sections.txt b/docs/gst/gstreamer-sections.txt index 0ed903a96a..768c88bad2 100644 --- a/docs/gst/gstreamer-sections.txt +++ b/docs/gst/gstreamer-sections.txt @@ -1835,8 +1835,10 @@ GST_TAG_VERSION GST_TAG_ISRC GST_TAG_ORGANIZATION GST_TAG_COPYRIGHT +GST_TAG_COPYRIGHT_URI GST_TAG_CONTACT GST_TAG_LICENSE +GST_TAG_LICENSE_URI GST_TAG_PERFORMER GST_TAG_DURATION GST_TAG_CODEC diff --git a/gst/gsttaglist.c b/gst/gsttaglist.c index b38795ae21..0fc54d5ddd 100644 --- a/gst/gsttaglist.c +++ b/gst/gsttaglist.c @@ -159,11 +159,17 @@ _gst_tag_initialize (void) gst_tag_merge_strings_with_comma); gst_tag_register (GST_TAG_COPYRIGHT, GST_TAG_FLAG_META, G_TYPE_STRING, _("copyright"), _("copyright notice of the data"), NULL); + gst_tag_register (GST_TAG_COPYRIGHT_URI, GST_TAG_FLAG_META, + G_TYPE_STRING, _("copyright uri"), + _("URI to the copyright notice of the data"), NULL); gst_tag_register (GST_TAG_CONTACT, GST_TAG_FLAG_META, G_TYPE_STRING, _("contact"), _("contact information"), gst_tag_merge_strings_with_comma); gst_tag_register (GST_TAG_LICENSE, GST_TAG_FLAG_META, G_TYPE_STRING, _("license"), _("license of data"), NULL); + gst_tag_register (GST_TAG_LICENSE_URI, GST_TAG_FLAG_META, + G_TYPE_STRING, _("license uri"), + _("URI to the license of the data"), NULL); gst_tag_register (GST_TAG_PERFORMER, GST_TAG_FLAG_META, G_TYPE_STRING, _("performer"), diff --git a/gst/gsttaglist.h b/gst/gsttaglist.h index a4de5f410c..3fac7259c1 100644 --- a/gst/gsttaglist.h +++ b/gst/gsttaglist.h @@ -452,6 +452,14 @@ gboolean gst_tag_list_get_date_index (const GstTagList * list, * copyright notice of the data (string) */ #define GST_TAG_COPYRIGHT "copyright" +/** + * GST_TAG_COPYRIGHT_URI: + * + * URI to location where copyright details can be found (string) + * + * Since: 0.10.14 + */ +#define GST_TAG_COPYRIGHT_URI "copyright-uri" /** * GST_TAG_CONTACT: * @@ -464,6 +472,14 @@ gboolean gst_tag_list_get_date_index (const GstTagList * list, * license of data (string) */ #define GST_TAG_LICENSE "license" +/** + * GST_TAG_LICENSE_URI: + * + * URI to location where license details can be found (string) + * + * Since: 0.10.14 + */ +#define GST_TAG_LICENSE_URI "license-uri" /** * GST_TAG_PERFORMER: *