summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeongmo Yang <jm80.yang@samsung.com>2017-09-04 12:14:33 +0900
committerJeongmo Yang <jm80.yang@samsung.com>2017-09-04 12:15:48 +0900
commit8bf129748b2e16359c19d70ae272fc1291db3511 (patch)
tree6b37fb493ba49e26a2033f8fb40ab83197423ec7
parent8eb343751f3e0bd9335f4e38dc5b2936e7a0109b (diff)
parentb6288ba3e3eb999742c2f5f5970644979f25b762 (diff)
downloadcamera-8bf129748b2e16359c19d70ae272fc1291db3511.tar.gz
camera-8bf129748b2e16359c19d70ae272fc1291db3511.tar.bz2
camera-8bf129748b2e16359c19d70ae272fc1291db3511.zip
- Set video_has flag for display window Change-Id: Iabbf67c2bcd819b253f3138a705c227d9ae7ee5e 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, 3 insertions, 1 deletions
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec
index b9c6d1b..2367835 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.3.5
+Version: 0.3.6
Release: 0
Group: Multimedia/API
License: Apache-2.0
diff --git a/src/camera.c b/src/camera.c
index 898eef1..ba855cf 100644
--- a/src/camera.c
+++ b/src/camera.c
@@ -136,6 +136,8 @@ int _camera_get_wl_info(Evas_Object *obj, camera_wl_info_s *wl_info)
goto _DONE;
}
+ ecore_wl_window_video_has(window, EINA_TRUE);
+
surface = (struct wl_surface *)ecore_wl_window_surface_get(window);
if (!surface) {
LOGE("failed to get wayland surface");