summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeongmo Yang <jm80.yang@samsung.com>2015-12-11 16:03:11 +0900
committerJeongmo Yang <jm80.yang@samsung.com>2015-12-11 16:03:59 +0900
commit0ef560ab03c589ae56f954543a2a26cab0b80395 (patch)
tree5fbb1c27c763f073f31bcecaaec54d7407a23361
parenteae4493adcbe98d8329e61553f65f50fa832a1d1 (diff)
downloadcamera-0ef560ab03c589ae56f954543a2a26cab0b80395.tar.gz
camera-0ef560ab03c589ae56f954543a2a26cab0b80395.tar.bz2
camera-0ef560ab03c589ae56f954543a2a26cab0b80395.zip
1. Fix UTC - negative case of camera_set_media_packet_preview_cb API Change-Id: I9d140bbf018667785cb0451c0de9dc5482981b03 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
-rw-r--r--packaging/capi-media-camera.spec2
-rwxr-xr-xsrc/camera.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec
index 33a2811..f762afe 100644
--- a/packaging/capi-media-camera.spec
+++ b/packaging/capi-media-camera.spec
@@ -3,7 +3,7 @@
Name: capi-media-camera
Summary: A Camera API
-Version: 0.2.26
+Version: 0.2.27
Release: 0
Group: Multimedia/API
License: Apache-2.0
diff --git a/src/camera.c b/src/camera.c
index d07107f..1620bd4 100755
--- a/src/camera.c
+++ b/src/camera.c
@@ -2943,7 +2943,7 @@ int camera_set_media_packet_preview_cb(camera_h camera, camera_media_packet_prev
if (callback == NULL) {
LOGE("INVALID_PARAMETER(0x%08x) - callback", CAMERA_ERROR_INVALID_PARAMETER);
- return CAMERA_ERROR_NOT_SUPPORTED;
+ return CAMERA_ERROR_INVALID_PARAMETER;
}
int ret = CAMERA_ERROR_NONE;