Change flag for some attributes 25/199425/2 accepted/tizen/unified/20190213.071830 submit/tizen/20190212.042931
authorJeongmo Yang <jm80.yang@samsung.com>
Mon, 11 Feb 2019 08:45:53 +0000 (17:45 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Tue, 12 Feb 2019 01:18:59 +0000 (10:18 +0900)
- Changed attributes
 : MMCAM_CAPTURED_SCREENNAIL, MMCAM_CAPTURED_EXIF_RAW_DATA, MMCAM_DISPLAY_EVAS_SURFACE_SINK
- These attributes are set by mm_attrs_set_* functions internally,
  but, it will return error if flag is not writable
  and there is no way to set them without attribute lock.
  So, change the flag from READABLE to RW.

[Version] 0.10.179
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20190207.2]

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

index 99238612b8113ceefc0af63fb5c09af6bbe2458a..ea3e369a17417506be932033db49618f9e18c810 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-camcorder
 Summary:    Camera and recorder library
-Version:    0.10.178
+Version:    0.10.179
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index b1485a61ba0f805f856f2db682dfc550bbad85ce..8f162b79491778874c877731203d1235cc92aabe 100644 (file)
@@ -1182,7 +1182,7 @@ _mmcamcorder_alloc_attribute(MMHandleType handle)
                        MM_CAM_CAPTURED_SCREENNAIL,
                        "captured-screennail",
                        MM_ATTRS_TYPE_DATA,
-                       MM_ATTRS_FLAG_READABLE,
+                       MM_ATTRS_FLAG_RW,
                        {NULL},
                        MM_ATTRS_VALID_TYPE_NONE,
                        {0},
@@ -1282,7 +1282,7 @@ _mmcamcorder_alloc_attribute(MMHandleType handle)
                        MM_CAM_CAPTURED_EXIF_RAW_DATA,
                        "captured-exif-raw-data",
                        MM_ATTRS_TYPE_DATA,
-                       MM_ATTRS_FLAG_READABLE,
+                       MM_ATTRS_FLAG_RW,
                        {NULL},
                        MM_ATTRS_VALID_TYPE_NONE,
                        {0},
@@ -1293,7 +1293,7 @@ _mmcamcorder_alloc_attribute(MMHandleType handle)
                        MM_CAM_DISPLAY_EVAS_SURFACE_SINK,
                        "display-evas-surface-sink",
                        MM_ATTRS_TYPE_STRING,
-                       MM_ATTRS_FLAG_READABLE,
+                       MM_ATTRS_FLAG_RW,
                        {NULL},
                        MM_ATTRS_VALID_TYPE_NONE,
                        {0},