From 2e52a0dd433006068af8456ebb86a1939fa4d914 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Thu, 7 Nov 2019 18:06:11 +0900 Subject: [PATCH] video: fix compare wrong parameter. Change-Id: I6c5775f250fb89db3601e5ddd763b4dee05a7fb4 --- src/bin/video/iface/e_video_hwc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/video/iface/e_video_hwc.c b/src/bin/video/iface/e_video_hwc.c index 8ee62981b6..5aa94183bd 100644 --- a/src/bin/video/iface/e_video_hwc.c +++ b/src/bin/video/iface/e_video_hwc.c @@ -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, -- 2.34.1