taglist: handle publisher and interpreted-by tags

https://bugzilla.gnome.org/show_bug.cgi?id=705999
This commit is contained in:
Matthieu Bouron 2013-08-14 16:18:59 +01:00 committed by Sebastian Dröge
parent c3e2bf8086
commit d10dab0884
2 changed files with 26 additions and 0 deletions

View file

@ -387,6 +387,15 @@ _priv_gst_tag_initialize (void)
gst_tag_register_static (GST_TAG_IMAGE_ORIENTATION, GST_TAG_FLAG_META,
G_TYPE_STRING, _("image orientation"),
_("How the image should be rotated or flipped before display"), NULL);
gst_tag_register_static (GST_TAG_PUBLISHER, GST_TAG_FLAG_META,
G_TYPE_STRING,
_("publisher"),
_("Name of the label or publisher"), gst_tag_merge_strings_with_comma);
gst_tag_register_static (GST_TAG_INTERPRETED_BY, GST_TAG_FLAG_META,
G_TYPE_STRING,
_("interpreted-by"),
_("Information about the people behind a remix and similar "
"interpretations"), gst_tag_merge_strings_with_comma);
}
/**

View file

@ -1043,6 +1043,23 @@ gst_tag_list_copy (const GstTagList * taglist)
* 'flip' means an horizontal mirroring.
*/
#define GST_TAG_IMAGE_ORIENTATION "image-orientation"
/**
* GST_TAG_PUBLISHER:
*
* Name of the label or publisher (string)
*
* Since: 1.2
*/
#define GST_TAG_PUBLISHER "publisher"
/**
* GST_TAG_INTERPRETED_BY:
*
* Information about the people behind a remix and similar
* interpretations of another existing piece (string)
*
* Since: 1.2
*/
#define GST_TAG_INTERPRETED_BY "interpreted-by"
G_END_DECLS