tag: exif: Add another DateTime mapping
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 10 Aug 2010 22:30:11 +0000 (19:30 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 11 Aug 2010 11:51:28 +0000 (08:51 -0300)
datetimes can also be represented by the 0x132 tag. Map it, too.

gst-libs/gst/tag/gstexiftag.c

index 5158238..d4a8bd2 100644 (file)
@@ -182,6 +182,7 @@ static const GstExifTagMatch tag_map_ifd0[] = {
   {GST_TAG_IMAGE_ORIENTATION, 0x112, EXIF_TYPE_SHORT, 0, serialize_orientation,
       deserialize_orientation},
   {GST_TAG_APPLICATION_NAME, 0x131, EXIF_TYPE_ASCII, 0, NULL, NULL},
+  {GST_TAG_DATE_TIME, 0x132, EXIF_TYPE_ASCII, 0, NULL, NULL},
   {GST_TAG_ARTIST, 0x13B, EXIF_TYPE_ASCII, 0, NULL, NULL},
   {GST_TAG_COPYRIGHT, 0x8298, EXIF_TYPE_ASCII, 0, NULL, NULL},
   {NULL, EXIF_IFD_TAG, EXIF_TYPE_LONG, 0, NULL, NULL},