summaryrefslogtreecommitdiffstats
path: root/libcamera
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2011-02-20 22:33:57 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-02-20 22:33:57 -0800
commit5c24b7425b8bf3580189b98b5b8bd8ab50bff1b1 (patch)
treeb5417f7b6ab8950a087e14c40f4e09e18de7f64f /libcamera
parent2acded88f4ab3131b5b5c5da664f61cf1e8bdd92 (diff)
parent2c6102e3f2da0b38467aa51f8cd1d7acd9310cfc (diff)
downloaddevice_samsung_crespo-5c24b7425b8bf3580189b98b5b8bd8ab50bff1b1.zip
device_samsung_crespo-5c24b7425b8bf3580189b98b5b8bd8ab50bff1b1.tar.gz
device_samsung_crespo-5c24b7425b8bf3580189b98b5b8bd8ab50bff1b1.tar.bz2
am 2c6102e3: Fix the bug that the month of gps timestamp exif is off by 1.
* commit '2c6102e3f2da0b38467aa51f8cd1d7acd9310cfc': Fix the bug that the month of gps timestamp exif is off by 1.
Diffstat (limited to 'libcamera')
-rwxr-xr-xlibcamera/SecCamera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcamera/SecCamera.cpp b/libcamera/SecCamera.cpp
index 68e29fa..e17c878 100755
--- a/libcamera/SecCamera.cpp
+++ b/libcamera/SecCamera.cpp
@@ -3095,7 +3095,7 @@ void SecCamera::setExifChangedAttribute()
mExifInfo.gps_timestamp[2].num = tm_data.tm_sec;
mExifInfo.gps_timestamp[2].den = 1;
snprintf((char*)mExifInfo.gps_datestamp, sizeof(mExifInfo.gps_datestamp),
- "%04d:%02d:%02d", tm_data.tm_year + 1900, tm_data.tm_mon, tm_data.tm_mday);
+ "%04d:%02d:%02d", tm_data.tm_year + 1900, tm_data.tm_mon + 1, tm_data.tm_mday);
mExifInfo.enableGps = true;
} else {