From 5045c177518c962e2a4956962ffb5bb3b2d5cfb1 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Wed, 25 Aug 2010 08:41:52 -0300 Subject: [PATCH] tag: exif: Move some tags to their correct IFDs Put some tags in their correct IFDs --- gst-libs/gst/tag/gstexiftag.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gst-libs/gst/tag/gstexiftag.c b/gst-libs/gst/tag/gstexiftag.c index d2209ccd92..894453b54c 100644 --- a/gst-libs/gst/tag/gstexiftag.c +++ b/gst-libs/gst/tag/gstexiftag.c @@ -321,6 +321,12 @@ static const GstExifTagMatch tag_map_ifd0[] = { {GST_TAG_DATE_TIME, EXIF_TAG_DATE_TIME, EXIF_TYPE_ASCII, 0, NULL, NULL}, {GST_TAG_ARTIST, EXIF_TAG_ARTIST, EXIF_TYPE_ASCII, 0, NULL, NULL}, {GST_TAG_COPYRIGHT, EXIF_TAG_COPYRIGHT, EXIF_TYPE_ASCII, 0, NULL, NULL}, + {NULL, EXIF_IFD_TAG, EXIF_TYPE_LONG, 0, NULL, NULL}, + {NULL, EXIF_GPS_IFD_TAG, EXIF_TYPE_LONG, 0, NULL, NULL}, + {NULL, 0, 0, 0, NULL, NULL} +}; + +static const GstExifTagMatch tag_map_exif[] = { {GST_TAG_CAPTURING_SHUTTER_SPEED, EXIF_TAG_EXPOSURE_TIME, EXIF_TYPE_RATIONAL, 0, NULL, NULL}, @@ -340,12 +346,6 @@ static const GstExifTagMatch tag_map_ifd0[] = { serialize_sensitivity_type, deserialize_sensitivity_type}, {GST_TAG_CAPTURING_ISO_SPEED, EXIF_TAG_ISO_SPEED, EXIF_TYPE_LONG, 0, NULL, NULL}, - {NULL, EXIF_IFD_TAG, EXIF_TYPE_LONG, 0, NULL, NULL}, - {NULL, EXIF_GPS_IFD_TAG, EXIF_TYPE_LONG, 0, NULL, NULL}, - {NULL, 0, 0, 0, NULL, NULL} -}; - -static const GstExifTagMatch tag_map_exif[] = { {NULL, EXIF_VERSION_TAG, EXIF_TYPE_UNDEFINED, 0, NULL, NULL}, {GST_TAG_DATE_TIME, EXIF_TAG_DATE_TIME_ORIGINAL, EXIF_TYPE_ASCII, 0, NULL, NULL},