diff options
author | Angus Kong <shkong@google.com> | 2012-01-19 16:09:14 +0800 |
---|---|---|
committer | Angus Kong <shkong@google.com> | 2012-01-19 16:09:14 +0800 |
commit | 1e3a7ee3fced4b9723f65147ae856bba7d4e2342 (patch) | |
tree | 97b15a947f444a04da47024c49098e0106871361 /camera/inc | |
parent | 46de639b23db99d7b99ff1c676ac98b84b6336c6 (diff) | |
download | hardware_ti_omap4xxx-1e3a7ee3fced4b9723f65147ae856bba7d4e2342.zip hardware_ti_omap4xxx-1e3a7ee3fced4b9723f65147ae856bba7d4e2342.tar.gz hardware_ti_omap4xxx-1e3a7ee3fced4b9723f65147ae856bba7d4e2342.tar.bz2 |
Prevent duplicate DateTime tags in EXIF.
bug:5766177
Change-Id: Ib60030374ffca8e27c814503621cc545f9132360
Diffstat (limited to 'camera/inc')
-rw-r--r-- | camera/inc/Encoder_libjpeg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/camera/inc/Encoder_libjpeg.h b/camera/inc/Encoder_libjpeg.h index 26136fa..727dd92 100644 --- a/camera/inc/Encoder_libjpeg.h +++ b/camera/inc/Encoder_libjpeg.h @@ -86,7 +86,7 @@ class ExifElementsTable { public: ExifElementsTable() : gps_tag_count(0), exif_tag_count(0), position(0), - jpeg_opened(false) { } + jpeg_opened(false), has_datetime_tag(false) { } ~ExifElementsTable(); status_t insertElement(const char* tag, const char* value); @@ -102,6 +102,7 @@ class ExifElementsTable { unsigned int exif_tag_count; unsigned int position; bool jpeg_opened; + bool has_datetime_tag; }; class Encoder_libjpeg : public Thread { |