Fix use of DCPOMATIC_TEST_PRIVATE variable to specify where
[dcpomatic.git] / test / ffmpeg_decoder_seek_test.cc
index 3e825e4433383f455469ae2a52d3011fba47042a..7ee225d510943e3bf56998ad46a1608a052b1e5e 100644 (file)
@@ -67,7 +67,7 @@ check (shared_ptr<FFmpegDecoder> decoder, int frame)
 static void
 test (boost::filesystem::path file, vector<int> frames)
 {
-       boost::filesystem::path path = private_data / file;
+       boost::filesystem::path path = TestPaths::private_data() / file;
        BOOST_REQUIRE (boost::filesystem::exists (path));
 
        shared_ptr<Film> film = new_test_film ("ffmpeg_decoder_seek_test_" + file.string());