summaryrefslogtreecommitdiff
path: root/test/remake_with_subtitle_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/remake_with_subtitle_test.cc')
-rw-r--r--test/remake_with_subtitle_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/remake_with_subtitle_test.cc b/test/remake_with_subtitle_test.cc
index 61cf0187f..c54dee61f 100644
--- a/test/remake_with_subtitle_test.cc
+++ b/test/remake_with_subtitle_test.cc
@@ -37,14 +37,14 @@ BOOST_AUTO_TEST_CASE (remake_with_subtitle_test)
shared_ptr<FFmpegContent> content = dynamic_pointer_cast<FFmpegContent>(content_factory(film, private_data / "prophet_short_clip.mkv").front());
film->examine_and_add_content (content);
BOOST_REQUIRE (!wait_for_jobs ());
- content->only_caption()->set_burn (true);
- content->only_caption()->set_use (true);
+ content->only_text()->set_burn (true);
+ content->only_text()->set_use (true);
film->make_dcp ();
BOOST_REQUIRE (!wait_for_jobs ());
boost::filesystem::remove_all (film->dir (film->dcp_name(), false));
- content->only_caption()->set_use (false);
+ content->only_text()->set_use (false);
film->make_dcp ();
BOOST_REQUIRE (!wait_for_jobs ());