mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
tags: Add new mapping to XMP helpers
Adds geotagging mappings to XMP helpers Fixes #609539
This commit is contained in:
parent
6404e94ae7
commit
6d1f406a77
1 changed files with 11 additions and 0 deletions
|
@ -57,6 +57,13 @@ static const GstTagEntryMatch tag_matches[] = {
|
|||
{GST_TAG_TITLE, "dc:title"},
|
||||
/* FIXME: we probably want GST_TAG_{,AUDIO_,VIDEO_}MIME_TYPE */
|
||||
{GST_TAG_VIDEO_CODEC, "dc:format"},
|
||||
|
||||
/* photoshop schema */
|
||||
{GST_TAG_GEO_LOCATION_COUNTRY, "photoshop:Country"},
|
||||
{GST_TAG_GEO_LOCATION_CITY, "photoshop:City"},
|
||||
|
||||
/* iptc4xmpcore schema */
|
||||
{GST_TAG_GEO_LOCATION_SUBLOCATION, "Iptc4xmpCore:Location"},
|
||||
/* */
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
@ -73,6 +80,8 @@ static const GstXmpNamespaceMatch ns_match[] = {
|
|||
{"exif", "http://ns.adobe.com/exif/1.0/"},
|
||||
{"tiff", "http://ns.adobe.com/tiff/1.0/"},
|
||||
{"xap", "http://ns.adobe.com/xap/1.0/"},
|
||||
{"photoshop", "http://ns.adobe.com/photoshop/1.0/"},
|
||||
{"Iptc4xmpCore", "http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
|
@ -87,6 +96,8 @@ static GstXmpNamespaceMap ns_map[] = {
|
|||
{"exif", NULL},
|
||||
{"tiff", NULL},
|
||||
{"xap", NULL},
|
||||
{"photoshop", NULL},
|
||||
{"Iptc4xmpCore", NULL},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue