video: Fix render failure for 1x1 size 87/291787/1 accepted/tizen/unified/20230531.151935
authorSeunghun Lee <shiin.lee@samsung.com>
Fri, 21 Apr 2023 05:13:10 +0000 (14:13 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 21 Apr 2023 07:26:24 +0000 (16:26 +0900)
commit396594d7f39fa2128f6aac78e4c024310460f892
tree17c4c623cd58090f528e5ba4a45fee26d29dfcad
parentc24201e6af03c89be3e9f0b60612b1f93203f975
video: Fix render failure for 1x1 size

While determining whether the given vertices represent the portrait or
the landscape rectangle, the margin of 1 pixel has been used because
sometimes there has been 1 pixel difference between two adjacent
vertices. This could be because of evas map algorithm, but I'm not sure.

If the dimension of rectangle would be 1x1 it wouldn't be worked, so if
the given vertices represent the rectangle that has 1x1 dimension, then
no margin would be used.

Change-Id: I0c776060ed3124dfd72717e474f193929ae51c6a
src/bin/video/iface/e_video_hwc.c