summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeongmo Yang <jm80.yang@samsung.com>2016-10-25 15:25:23 +0900
committerJeongmo Yang <jm80.yang@samsung.com>2016-10-25 15:25:23 +0900
commitdd7433939a07f2746e4afedce2f2610a0e480f1c (patch)
tree7d3e5ca6f4683b712a8a2ca245a2a17bbbfeff80
parent2ef267dba0b2bab5461dd008f9ae51e818b5eb29 (diff)
downloadcamera-dd7433939a07f2746e4afedce2f2610a0e480f1c.tar.gz
camera-dd7433939a07f2746e4afedce2f2610a0e480f1c.tar.bz2
camera-dd7433939a07f2746e4afedce2f2610a0e480f1c.zip
[Version] 0.2.79 [Profile] Common [Issue Type] Bug fix [Dependency module] N/A [Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20161024.2] Change-Id: I7d4f6e7737b1290feecd109e522ffed89c99c0b6 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
-rw-r--r--packaging/capi-media-camera.spec2
-rw-r--r--src/camera.c9
2 files changed, 9 insertions, 2 deletions
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec
index 22da559..20b31be 100644
--- a/packaging/capi-media-camera.spec
+++ b/packaging/capi-media-camera.spec
@@ -1,6 +1,6 @@
Name: capi-media-camera
Summary: A Camera API
-Version: 0.2.78
+Version: 0.2.79
Release: 0
Group: Multimedia/API
License: Apache-2.0
diff --git a/src/camera.c b/src/camera.c
index f368341..ec8a607 100644
--- a/src/camera.c
+++ b/src/camera.c
@@ -1447,8 +1447,15 @@ static void _camera_client_user_callback(camera_cb_info_s *cb_info, char *recv_m
buf_pos = (unsigned char *)bo_main_handle.ptr;
rImage = (camera_image_data_s *)buf_pos;
rImage->data = buf_pos + sizeof(camera_image_data_s);
+ if (rImage->exif && rImage->exif_size > 0) {
+ rImage->exif = rImage->data + rImage->size;
+ } else {
+ rImage->exif = NULL;
+ rImage->exif_size = 0;
+ }
- LOGD("image info %dx%d, size : %d", rImage->width, rImage->height, rImage->size);
+ LOGD("image info %dx%d, size %d, EXIF info %p, size %d",
+ rImage->width, rImage->height, rImage->size, rImage->exif, rImage->exif_size);
if (tbm_key_post > 0) {
/* import tbm bo and get virtual address */