diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-04 22:04:40 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-13 18:51:11 +0200 |
| commit | 5d937606cf96d163be98920fa5619114a28eec9d (patch) | |
| tree | 8e36025e51f2eaa9476de4c48810126a2f071127 /test/remake_with_subtitle_test.cc | |
| parent | 7b302908e4b6186c44fd3a97aa4ba0716fb8674f (diff) | |
Fix use of DCPOMATIC_TEST_PRIVATE variable to specify where
test private data is.
Diffstat (limited to 'test/remake_with_subtitle_test.cc')
| -rw-r--r-- | test/remake_with_subtitle_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/remake_with_subtitle_test.cc b/test/remake_with_subtitle_test.cc index 2321653d9..27d76ed31 100644 --- a/test/remake_with_subtitle_test.cc +++ b/test/remake_with_subtitle_test.cc @@ -34,7 +34,7 @@ using boost::dynamic_pointer_cast; BOOST_AUTO_TEST_CASE (remake_with_subtitle_test) { shared_ptr<Film> film = new_test_film2 ("remake_with_subtitle_test"); - shared_ptr<FFmpegContent> content = dynamic_pointer_cast<FFmpegContent>(content_factory(TestPaths::private_data / "prophet_short_clip.mkv").front()); + shared_ptr<FFmpegContent> content = dynamic_pointer_cast<FFmpegContent>(content_factory(TestPaths::private_data() / "prophet_short_clip.mkv").front()); film->examine_and_add_content (content); BOOST_REQUIRE (!wait_for_jobs ()); content->only_text()->set_burn (true); @@ -48,5 +48,5 @@ BOOST_AUTO_TEST_CASE (remake_with_subtitle_test) film->make_dcp (); BOOST_REQUIRE (!wait_for_jobs ()); - check_one_frame (film->dir(film->dcp_name()), 325, TestPaths::private_data / "prophet_frame_325_no_subs.j2c"); + check_one_frame (film->dir(film->dcp_name()), 325, TestPaths::private_data() / "prophet_frame_325_no_subs.j2c"); } |
