API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.c:
* gst/gsttaglist.h:
API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
This commit is contained in:
Tim-Philipp Müller 2007-07-26 15:48:40 +00:00
parent ce3c96049e
commit 36c2aadf25
4 changed files with 31 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
* 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 <thaytan@mad.scientist.com>
* docs/libs/Makefile.am:

View file

@ -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

View file

@ -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"),

View file

@ -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:
*