summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeongmo Yang <jm80.yang@samsung.com>2020-07-01 11:06:50 +0900
committerJeongmo Yang <jm80.yang@samsung.com>2020-07-01 11:19:26 +0900
commit0104feb03bd551cfee7208b4a490954dd4a4defe (patch)
treed022c73e8dfaf680f0b96ed6594ae71d6f13e50e
parenteb0a7accbea76943e51e3b5c2d6c7a4e4d45fed7 (diff)
downloadcamera-accepted/tizen/unified/20200702.141743.tar.gz
camera-accepted/tizen/unified/20200702.141743.tar.bz2
camera-accepted/tizen/unified/20200702.141743.zip
- Previously, window geometry was not delivered to muse-server for OVERLAY_EXT type, but, it's used in case of directvideosink, so it caused problem. - This commit should be merge with below change. https://review.tizen.org/gerrit/#/c/platform/core/multimedia/libmm-display/+/237486/ [Version] 0.4.36 [Profile] Common [Issue Type] Update Change-Id: Ic9a46c52f9d56118cd9ac5a0a674fcbaa664df45 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
-rw-r--r--packaging/capi-media-camera.spec2
-rw-r--r--src/camera.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec
index fb1c103..4bdea7f 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.35
+Version: 0.4.36
Release: 0
Group: Multimedia/API
License: Apache-2.0
diff --git a/src/camera.c b/src/camera.c
index 34ff1f6..dd311da 100644
--- a/src/camera.c
+++ b/src/camera.c
@@ -3181,7 +3181,7 @@ int _camera_set_display(camera_h camera, mm_display_type_e type, void *display)
return CAMERA_ERROR_INVALID_OPERATION;
}
- if (type == MM_DISPLAY_TYPE_OVERLAY) {
+ if (type == MM_DISPLAY_TYPE_OVERLAY || type == MM_DISPLAY_TYPE_OVERLAY_EXT) {
mm_ret = mm_display_interface_get_window_rect(cb_info->dp_interface, &dp_info->window_rect);
LOGD("ret 0x%x, parent_id %d, window rect %d,%d,%dx%d",