video: make up for rounding error by comparing if two values are close enough. 90/228690/3
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 12 Mar 2020 02:18:01 +0000 (11:18 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 26 Mar 2020 03:44:59 +0000 (03:44 +0000)
commit22ec9421f44eba76c3daac3ac8615bbbf9014a3a
tree899b813894b383bb805fdb0b1f45825e70bf15ef
parentc0f16f31c611403bfd9eab94f4ac2e5372985240
video: make up for rounding error by comparing if two values are close enough.

not sure that this error actually caused by rounding error of
e_util_transform, but anyway there was a failure converting 4 vertices
of evas_map to elements of rectangle and rotation.

And it turned out that was because of 1 pixel difference between two
vertices when it is compared to find out whether it's rectangle or not.

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