aboutsummaryrefslogtreecommitdiff
path: root/camera/QCamera2/HAL3/QCamera3PostProc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'camera/QCamera2/HAL3/QCamera3PostProc.cpp')
-rw-r--r--camera/QCamera2/HAL3/QCamera3PostProc.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/camera/QCamera2/HAL3/QCamera3PostProc.cpp b/camera/QCamera2/HAL3/QCamera3PostProc.cpp
index be53d4a..6405d76 100644
--- a/camera/QCamera2/HAL3/QCamera3PostProc.cpp
+++ b/camera/QCamera2/HAL3/QCamera3PostProc.cpp
@@ -2625,17 +2625,17 @@ QCamera3Exif *QCamera3PostProcessor::getExifData(metadata_buffer_t *metadata,
rc = getExifDateTime(dateTime, subsecTime);
if (rc == NO_ERROR) {
exif->addEntry(EXIFTAGID_DATE_TIME, EXIF_ASCII,
- (uint32_t)(dateTime.length() + 1), (void *)dateTime.string());
+ (uint32_t)(dateTime.length() + 1), (void *)dateTime.c_str());
exif->addEntry(EXIFTAGID_EXIF_DATE_TIME_ORIGINAL, EXIF_ASCII,
- (uint32_t)(dateTime.length() + 1), (void *)dateTime.string());
+ (uint32_t)(dateTime.length() + 1), (void *)dateTime.c_str());
exif->addEntry(EXIFTAGID_EXIF_DATE_TIME_DIGITIZED, EXIF_ASCII,
- (uint32_t)(dateTime.length() + 1), (void *)dateTime.string());
+ (uint32_t)(dateTime.length() + 1), (void *)dateTime.c_str());
exif->addEntry(EXIFTAGID_SUBSEC_TIME, EXIF_ASCII,
- (uint32_t)(subsecTime.length() + 1), (void *)subsecTime.string());
+ (uint32_t)(subsecTime.length() + 1), (void *)subsecTime.c_str());
exif->addEntry(EXIFTAGID_SUBSEC_TIME_ORIGINAL, EXIF_ASCII,
- (uint32_t)(subsecTime.length() + 1), (void *)subsecTime.string());
+ (uint32_t)(subsecTime.length() + 1), (void *)subsecTime.c_str());
exif->addEntry(EXIFTAGID_SUBSEC_TIME_DIGITIZED, EXIF_ASCII,
- (uint32_t)(subsecTime.length() + 1), (void *)subsecTime.string());
+ (uint32_t)(subsecTime.length() + 1), (void *)subsecTime.c_str());
} else {
LOGW("getExifDateTime failed");
}