Basics of multiple captions per content so that DCPContent can
[dcpomatic.git] / test / subtitle_reel_number_test.cc
index a82094a7351e253bb1c7d9904f340c28c9ad0fc9..7cb184477e525d28a96cf908fbaa041dc7b6e75d 100644 (file)
@@ -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);