Files
libopenshot/tests/CVStabilizer.cpp
kxxt e6f6b64a0f Fix Stabilize_Video test for platforms that doesn't use fast color space conversion
The Stabilize_Video test fails on platforms that doesn't support
accelerated colorspace conversion from yuv420p to rgba.

e8e4863325/libswscale/yuv2rgb.c (L678-L696)

This PR fixes it by rounding the result that caused the test failure.

On x86_64, y = -0.001074643496478603
On riscv64, y = -0.0009904620157904118
2023-05-28 12:28:33 +08:00

3.2 KiB