summaryrefslogtreecommitdiff
path: root/test/subtitle_reel_number_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-21 15:16:18 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-21 15:16:18 +0100
commitcbd4450197a083bf58bda510e626f73ba583cb66 (patch)
tree2be308772512539570beab36beab02bde72d6d4b /test/subtitle_reel_number_test.cc
parent1013175d5f6adfa0e6a7442e4c9aebb893787748 (diff)
Basics of multiple captions per content so that DCPContent can
hold subs and closed captions.
Diffstat (limited to 'test/subtitle_reel_number_test.cc')
-rw-r--r--test/subtitle_reel_number_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/subtitle_reel_number_test.cc b/test/subtitle_reel_number_test.cc
index a82094a73..7cb184477 100644
--- a/test/subtitle_reel_number_test.cc
+++ b/test/subtitle_reel_number_test.cc
@@ -46,8 +46,8 @@ BOOST_AUTO_TEST_CASE (subtitle_reel_number_test)
shared_ptr<TextCaptionFileContent> content (new TextCaptionFileContent (film, "test/data/subrip5.srt"));
film->examine_and_add_content (content);
BOOST_REQUIRE (!wait_for_jobs ());
- content->caption->set_use (true);
- content->caption->set_burn (false);
+ content->only_caption()->set_use (true);
+ content->only_caption()->set_burn (false);
film->set_reel_type (REELTYPE_BY_LENGTH);
film->set_interop (true);
film->set_reel_length (1024 * 1024 * 512);