Do not return error if current videosink does not support display rect in display_rec... 36/114836/1
authorJeongmo Yang <jm80.yang@samsung.com>
Mon, 23 Jan 2017 07:57:21 +0000 (16:57 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Wed, 15 Feb 2017 08:09:45 +0000 (17:09 +0900)
[Version] 0.10.104
[Profile] Common
[Issue Type] Update
[Dependency module] N/A

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

index e66609f..648c9fd 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-camcorder
 Summary:    Camera and recorder library
-Version:    0.10.103
+Version:    0.10.104
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index 19c06b3..10c6213 100644 (file)
@@ -4126,12 +4126,11 @@ bool _mmcamcorder_commit_display_rect(MMHandleType handle, int attr_idx, const m
                                        NULL);
                        }
                }
-
-               return TRUE;
        } else {
-               _mmcam_dbg_warn("videosink[%s] does not support display rect.", videosink_name);
-               return FALSE;
+               _mmcam_dbg_warn("[%s] does not support display rect, but no error", videosink_name);
        }
+
+       return TRUE;
 }