From: Jeongmo Yang Date: Thu, 13 Jun 2019 02:29:03 +0000 (+0900) Subject: Change camera command for brightness X-Git-Tag: accepted/tizen/5.5/unified/20191031.014411~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70d87d285e6536d76ac53e4157af39d52b29aaed;p=platform%2Fadaptation%2Fcamera-hal-v4l2.git Change camera command for brightness [Version] 0.0.8 [Profile] Common [Issue Type] Update Change-Id: I001c5d9359025e337b416134f93fdde7333a4cc1 Signed-off-by: Jeongmo Yang --- diff --git a/packaging/camera-hal-v4l2.spec b/packaging/camera-hal-v4l2.spec index 908efe0..d22a8ed 100644 --- a/packaging/camera-hal-v4l2.spec +++ b/packaging/camera-hal-v4l2.spec @@ -1,6 +1,6 @@ Name: camera-hal-v4l2 Summary: Tizen Camera Hal for V4L2 -Version: 0.0.7 +Version: 0.0.8 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/tizen_camera_v4l2.c b/src/tizen_camera_v4l2.c index 262b0d6..5f96527 100644 --- a/src/tizen_camera_v4l2.c +++ b/src/tizen_camera_v4l2.c @@ -1662,7 +1662,7 @@ int camera_set_command(void *camera_handle, int64_t command, void *value) LOGD("set command %"PRId64" - state %d", command, handle->state); switch (command) { - case CAMERA_COMMAND_EXPOSURE: + case CAMERA_COMMAND_BRIGHTNESS: cid = V4L2_CID_BRIGHTNESS; break; case CAMERA_COMMAND_CONTRAST: @@ -1751,7 +1751,7 @@ int camera_get_command(void *camera_handle, int64_t command, void **value) LOGD("get command %"PRId64" - state %d", command, handle->state); switch (command) { - case CAMERA_COMMAND_EXPOSURE: + case CAMERA_COMMAND_BRIGHTNESS: cid = V4L2_CID_BRIGHTNESS; break; case CAMERA_COMMAND_CONTRAST: