Skip to content

Commit

Permalink
Merge pull request #929 from kxxt/fix/test/CVStabilizer/Stabilize_Video
Browse files Browse the repository at this point in the history
Fix Stabilize_Video test for platforms that doesn't use fast color space conversion
  • Loading branch information
jonoomph authored Jun 2, 2023
2 parents 919f2aa + e6f6b64 commit 887b993
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/CVStabilizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

#include <sstream>
#include <memory>
#include <cmath>

#include "openshot_catch.h"

Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 887b993

Please sign in to comment.