From c45bf80a0ce2a35c88fcf7d91a765375e7cd2967 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Wed, 11 Aug 2010 08:03:44 -0300 Subject: [PATCH] tag: exif: Put ExifVersion in the correct IFD ExifVersion is from the 'exif' ifd, not the 0th ifd. --- gst-libs/gst/tag/gstexiftag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/tag/gstexiftag.c b/gst-libs/gst/tag/gstexiftag.c index 6331c5b..2a688e5 100644 --- a/gst-libs/gst/tag/gstexiftag.c +++ b/gst-libs/gst/tag/gstexiftag.c @@ -175,11 +175,11 @@ static const GstExifTagMatch tag_map_ifd0[] = { {GST_TAG_COPYRIGHT, 0x8298, 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, EXIF_VERSION_TAG, EXIF_TYPE_UNDEFINED, 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, 0x9003, EXIF_TYPE_ASCII, 0, NULL, NULL}, {NULL, 0, 0, 0, NULL, NULL} }; -- 2.7.4