X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=test_util.cpp;h=afeb8486041487878ac666b6916db9efc12d30fd;hp=6beaba1423bda237d06d07d1c288850dc87b4f61;hb=34f5f331bd3b643949ccbb0c3488af2823634d59;hpb=2463f8abd9662e08438e23e5c0d0f958ea4fe54e diff --git a/test_util.cpp b/test_util.cpp index 6beaba1..afeb848 100644 --- a/test_util.cpp +++ b/test_util.cpp @@ -1,3 +1,4 @@ +#include "init.h" #include "test_util.h" #include "flat_input.h" #include "gtest/gtest.h" @@ -11,6 +12,8 @@ EffectChainTester::EffectChainTester(const float *data, unsigned width, unsigned MovitPixelFormat pixel_format, Colorspace color_space, GammaCurve gamma_curve) : chain(width, height), width(width), height(height), finalized(false) { + init_movit(); + if (data != NULL) { add_input(data, pixel_format, color_space, gamma_curve); }