video: fix compare wrong parameter. 00/217200/2
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 7 Nov 2019 09:06:11 +0000 (18:06 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 7 Nov 2019 10:34:45 +0000 (10:34 +0000)
Change-Id: I6c5775f250fb89db3601e5ddd763b4dee05a7fb4

src/bin/video/iface/e_video_hwc.c

index 8ee62981b661c9bcf1b75b4555f7083d00e53967..5aa94183bde182f8efb6fc9e5cf521126e222844 100644 (file)
@@ -825,8 +825,8 @@ _e_video_hwc_tdm_viewport_clip(E_Video_Hwc_Geometry *in_out, E_Zone *zone)
    dst_rect = &in_out->tdm.output_r;
 
    /* No need to clip in case clip_rect contains dst_rect. */
-   if (E_CONTAINS(clip_rect.x, clip_rect.y, clip_rect.w, clip_rect.y,
-                  dst_rect->x, dst_rect->y, dst_rect->w, dst_rect->y))
+   if (E_CONTAINS(clip_rect.x, clip_rect.y, clip_rect.w, clip_rect.h,
+                  dst_rect->x, dst_rect->y, dst_rect->w, dst_rect->h))
      return;
 
    EINA_RECTANGLE_SET(&new_dst_rect,