Fix bug for exposure value 91/276991/1 accepted/tizen/unified/20220704.213038 submit/tizen/20220701.103121
authorJeongmo Yang <jm80.yang@samsung.com>
Wed, 29 Jun 2022 03:06:39 +0000 (12:06 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Wed, 29 Jun 2022 03:06:39 +0000 (12:06 +0900)
- The type of exposure value is integer, not fraction.

[Version] 0.10.260
[Issue Type] Bug fix

Change-Id: If4430916d7db6890b02ce2c6c53fcf6ccc3fdd8a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/libmm-camcorder.spec
src/mm_camcorder_attribute.c

index 92428b0b3c5c98c1e44eeabbd2d28eaaa0cf2bee..04060ce25ac0d4924f1fa0d72c6e8e9c687a8da3 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       libmm-camcorder
 Summary:    Camera and recorder library
-Version:    0.10.259
+Version:    0.10.260
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index 60e1d013ce601915b5ff980e6bcd0cdefd70ed57..1e282d707207315253bc6f8d2d02d2d36c113583 100644 (file)
@@ -3318,8 +3318,7 @@ bool _mmcamcorder_commit_camera_capture_mode(MMHandleType handle, int attr_idx,
                check_scene_mode = TRUE;
        } else if (attr_idx == MM_CAM_CAMERA_EXPOSURE_VALUE) {
                exposure_type = GST_CAMERA_CONTROL_EXPOSURE_VALUE;
-               mslVal1 = newVal1 = MM_CAMCORDER_GET_NUMERATOR(ivalue);
-               mslVal2 = newVal2 = MM_CAMCORDER_GET_DENOMINATOR(ivalue);
+               mslVal1 = newVal1 = ivalue;
        }
 
        if (check_scene_mode) {