mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
taglist: handle publisher and interpreted-by tags
https://bugzilla.gnome.org/show_bug.cgi?id=705999
This commit is contained in:
parent
c3e2bf8086
commit
d10dab0884
2 changed files with 26 additions and 0 deletions
|
@ -387,6 +387,15 @@ _priv_gst_tag_initialize (void)
|
||||||
gst_tag_register_static (GST_TAG_IMAGE_ORIENTATION, GST_TAG_FLAG_META,
|
gst_tag_register_static (GST_TAG_IMAGE_ORIENTATION, GST_TAG_FLAG_META,
|
||||||
G_TYPE_STRING, _("image orientation"),
|
G_TYPE_STRING, _("image orientation"),
|
||||||
_("How the image should be rotated or flipped before display"), NULL);
|
_("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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1043,6 +1043,23 @@ gst_tag_list_copy (const GstTagList * taglist)
|
||||||
* 'flip' means an horizontal mirroring.
|
* 'flip' means an horizontal mirroring.
|
||||||
*/
|
*/
|
||||||
#define GST_TAG_IMAGE_ORIENTATION "image-orientation"
|
#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
|
G_END_DECLS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue