You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Merge pull request #929 from kxxt/fix/test/CVStabilizer/Stabilize_Video
Fix Stabilize_Video test for platforms that doesn't use fast color space conversion
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
|
||||
#include <sstream>
|
||||
#include <memory>
|
||||
#include <cmath>
|
||||
|
||||
#include "openshot_catch.h"
|
||||
|
||||
@@ -56,7 +57,7 @@ TEST_CASE( "Stabilize_Video", "[libopenshot][opencv][stabilizer]" )
|
||||
int dy = tp.dy*1000;
|
||||
int da = tp.da*1000;
|
||||
int x = ct.x*1000;
|
||||
int y = ct.y*1000;
|
||||
int y = std::round(ct.y*1000);
|
||||
int a = ct.a*1000;
|
||||
|
||||
CHECK(dx == (int) (58));
|
||||
|
||||
Reference in New Issue
Block a user