video: check the video layer's zpos 91/131191/1
authorBoram Park <boram1288.park@samsung.com>
Fri, 26 May 2017 01:17:02 +0000 (10:17 +0900)
committerBoram Park <boram1288.park@samsung.com>
Fri, 26 May 2017 01:18:30 +0000 (10:18 +0900)
if there is no HW layer for showing video under a primary layer,
video will be compositied with other UI windows and shown on UI layer.

Change-Id: I53857f6ae24fb0eb2700238503576cdf9c3f8e64

src/e_devicemgr_tdm.c
src/e_devicemgr_video.c

index 4d4e3e0acc7dc94e7ec0ec23641882b94dc3e0c7..135f3a413f747e468205a5f24c16f12c6bfd984d 100644 (file)
@@ -7,7 +7,7 @@
 #include "e_devicemgr_tdm.h"
 #include "e_devicemgr_dpms.h"
 
-//#define CHECKING_PRIMARY_ZPOS
+#define CHECKING_PRIMARY_ZPOS
 
 E_DevMgr_Display *e_devmgr_dpy;
 static Eina_List *e_devmgr_dpy_layers;
index 62383def8c378958f99d7ddcf6a34810d5b7e0d6..1b50e60f92893521264c7d2a8e2ef7127352ce3e 100755 (executable)
@@ -1442,7 +1442,7 @@ _e_video_set(E_Video *video, E_Client *ec)
    int ominw = -1, ominh = -1, omaxw = -1, omaxh = -1;
    int i, count = 0;
    tdm_display_capability disp_capabilities;
-   tdm_layer_capability lyr_capabilities;
+   tdm_layer_capability lyr_capabilities = 0;
    const tdm_prop *props;
    tdm_layer *layer;