diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-02-22 14:49:48 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-02-22 14:49:48 -0800 |
commit | 609f668560e9d7f818d4bb32004546706c9c0860 (patch) | |
tree | b6cc1c00db9b9602552776b15457f7c12b3229cf /libcamera | |
parent | 12f46793f924a0162acda523a42395632c31c787 (diff) | |
parent | 5c24b7425b8bf3580189b98b5b8bd8ab50bff1b1 (diff) | |
download | device_samsung_crespo-609f668560e9d7f818d4bb32004546706c9c0860.zip device_samsung_crespo-609f668560e9d7f818d4bb32004546706c9c0860.tar.gz device_samsung_crespo-609f668560e9d7f818d4bb32004546706c9c0860.tar.bz2 |
am 5c24b742: am 2c6102e3: Fix the bug that the month of gps timestamp exif is off by 1.
* commit '5c24b7425b8bf3580189b98b5b8bd8ab50bff1b1':
Fix the bug that the month of gps timestamp exif is off by 1.
Diffstat (limited to 'libcamera')
-rwxr-xr-x | libcamera/SecCamera.cpp | 2 |
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 { |