diff options
author | Simon Wilson <simonwilson@google.com> | 2010-11-23 11:11:08 -0800 |
---|---|---|
committer | Simon Wilson <simonwilson@google.com> | 2010-11-23 11:11:08 -0800 |
commit | a1354b9fa752515fe9f7d83e7dd8760105add230 (patch) | |
tree | c9ccb088ab9d512e89691de41182ca956bb54a6f /libcamera/SecCamera.cpp | |
parent | e37bd8e50e8c1181a0a2783d908e0e58ffba547e (diff) | |
download | device_samsung_crespo-a1354b9fa752515fe9f7d83e7dd8760105add230.zip device_samsung_crespo-a1354b9fa752515fe9f7d83e7dd8760105add230.tar.gz device_samsung_crespo-a1354b9fa752515fe9f7d83e7dd8760105add230.tar.bz2 |
libcamera: add 1900 to tm_year to fix gps date
Change-Id: I6b4d1457861dc25b464a530ea308d9a7b86690a7
Diffstat (limited to 'libcamera/SecCamera.cpp')
-rw-r--r-- | libcamera/SecCamera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcamera/SecCamera.cpp b/libcamera/SecCamera.cpp index b71a2ce..a5191d3 100644 --- a/libcamera/SecCamera.cpp +++ b/libcamera/SecCamera.cpp @@ -3542,7 +3542,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, tm_data.tm_mon, tm_data.tm_mday); + "%04d:%02d:%02d", tm_data.tm_year + 1900, tm_data.tm_mon, tm_data.tm_mday); mExifInfo.enableGps = true; } else { |