Allow data files to be fetched somewhere else than the current directory.
[movit] / test_util.cpp
index 9053c5e..2ddf665 100644 (file)
@@ -29,7 +29,7 @@ EffectChainTester::EffectChainTester(const float *data, unsigned width, unsigned
                                      GLenum framebuffer_format)
        : chain(width, height), width(width), height(height), finalized(false)
 {
                                      GLenum framebuffer_format)
        : chain(width, height), width(width), height(height), finalized(false)
 {
-       init_movit();
+       init_movit(".");
 
        if (data != NULL) {
                add_input(data, pixel_format, color_space, gamma_curve);
 
        if (data != NULL) {
                add_input(data, pixel_format, color_space, gamma_curve);