summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeongmo Yang <jm80.yang@samsung.com>2018-03-19 15:53:25 +0900
committerJeongmo Yang <jm80.yang@samsung.com>2018-03-19 15:53:25 +0900
commit24fc9183a50fae622ffb058f712efe0f47025a58 (patch)
treef574a0e70296e7a9174f61da90426691a47350b5
parent137b60b044446f90fbeb504e12874c9325cecf62 (diff)
downloadcamera-24fc9183a50fae622ffb058f712efe0f47025a58.tar.gz
camera-24fc9183a50fae622ffb058f712efe0f47025a58.tar.bz2
camera-24fc9183a50fae622ffb058f712efe0f47025a58.zip
[Version] 0.4.5 [Profile] Common [Issue Type] Optimization [Dependency module] N/A Change-Id: I2760e4e81c13dc18374805aedb9bc6b7fefc4710 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
-rw-r--r--packaging/capi-media-camera.spec2
-rw-r--r--test/camera_test.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec
index 47133e2..2503dcf 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.4.4
+Version: 0.4.5
Release: 0
Group: Multimedia/API
License: Apache-2.0
diff --git a/test/camera_test.c b/test/camera_test.c
index 6dbb868..97b7610 100644
--- a/test/camera_test.c
+++ b/test/camera_test.c
@@ -764,12 +764,10 @@ static void main_menu(gchar buf)
int err = 0;
int interval = 0;
int count = 0;
- camera_state_e capi_state = CAMERA_STATE_NONE;
switch (buf) {
case '1': /* Capture */
hcamcorder->is_multishot = FALSE;
- camera_get_state(hcamcorder->camera, &capi_state);
camera_attr_set_image_quality(hcamcorder->camera, 100);
camera_set_capture_format(hcamcorder->camera, CAMERA_PIXEL_FORMAT_JPEG);
camera_start_capture(hcamcorder->camera, capturing_cb, capture_completed_cb, hcamcorder);