Bug fix - pointer should be used for get attribute function 56/165256/1 accepted/tizen/unified/20171228.065008 submit/tizen/20171227.095031
authorJeongmo Yang <jm80.yang@samsung.com>
Wed, 27 Dec 2017 09:24:41 +0000 (18:24 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Wed, 27 Dec 2017 09:24:41 +0000 (18:24 +0900)
[Version] 0.3.12
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20171227.2]

Change-Id: Ia0e9b2408ff450cc653c6bbaab3fc10e230f2a83
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
legacy/src/legacy_camera.c
packaging/mmsvc-camera.spec

index 20a29e7..ec4623b 100644 (file)
@@ -3417,7 +3417,7 @@ int legacy_camera_attr_is_enabled_tag(camera_h camera, bool *enable)
        camera_s *handle = (camera_s *)camera;
 
        ret = mm_camcorder_get_attributes(handle->mm_handle, NULL,
-               MMCAM_TAG_ENABLE, get_enabled,
+               MMCAM_TAG_ENABLE, &get_enabled,
                NULL);
 
        if (ret == MM_ERROR_NONE)
@@ -4156,7 +4156,7 @@ int legacy_camera_attr_is_enabled_anti_shake(camera_h camera, bool *enabled)
        camera_s *handle = (camera_s *)camera;
 
        ret = mm_camcorder_get_attributes(handle->mm_handle, NULL,
-               MMCAM_CAMERA_ANTI_HANDSHAKE, get_enabled,
+               MMCAM_CAMERA_ANTI_HANDSHAKE, &get_enabled,
                NULL);
 
        if (ret == MM_ERROR_NONE)
index 8938f05..4815cb0 100644 (file)
@@ -1,6 +1,6 @@
 Name:       mmsvc-camera
 Summary:    A Camera module for muse server
-Version:    0.3.11
+Version:    0.3.12
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0