tags: Add new mapping to XMP helpers

Adds geotagging mappings to XMP helpers

Fixes #609539
This commit is contained in:
Thiago Santos 2010-03-10 10:50:32 -03:00
parent 6404e94ae7
commit 6d1f406a77

View file

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