From: Seunghun Lee Date: Thu, 7 Nov 2019 09:06:11 +0000 (+0900) Subject: video: fix compare wrong parameter. X-Git-Tag: submit/tizen/20191111.071211~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b5a683cc993aed02fb5e9ea87113d8d0f5df250e;p=platform%2Fupstream%2Fenlightenment.git video: fix compare wrong parameter. Change-Id: I6c5775f250fb89db3601e5ddd763b4dee05a7fb4 --- 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,