summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",