e_comp_wl_video: creating mask_obj only if topmost is 32 depth 70/153570/4
authorBoram Park <boram1288.park@samsung.com>
Fri, 29 Sep 2017 01:15:13 +0000 (10:15 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Fri, 29 Sep 2017 02:44:39 +0000 (02:44 +0000)
if topmost is 24 depth, black_bg_rectangle will be created. And UI layer will be
punched by black_bg_rectangle.

Change-Id: I59e8e1067fe4536c07387848ffdce5b105bdae47

src/bin/e_comp_wl_video.c

index 9931567e9fda787bc19fe87ec5403745f3a1466f..d6db364cd10838404038dd07c87bfd089593d62f 100644 (file)
@@ -1325,8 +1325,7 @@ _e_video_frame_buffer_show(E_Video *video, E_Comp_Wl_Video_Buf *vbuf)
      }
 
    topmost = find_topmost_parent_get(video->ec);
-   if (topmost && (topmost->argb || topmost->comp_data->sub.below_obj) &&
-       !e_comp_object_mask_has(video->ec->frame))
+   if (topmost && topmost->argb && !e_comp_object_mask_has(video->ec->frame))
      {
         Eina_Bool do_punch = EINA_TRUE;