X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fsubtitle_reel_number_test.cc;h=0726ee2e418bcb76310669b52a0eba07c2e50b09;hb=da5e64883d7665353fcf838f6956f2dfb6e8b176;hp=d78cb63d7c1076271ef695f4e90323d8955a98b7;hpb=df17bbd25da69fc38eb2dcd8b4a2531cf0bab0bc;p=dcpomatic.git diff --git a/test/subtitle_reel_number_test.cc b/test/subtitle_reel_number_test.cc index d78cb63d7..0726ee2e4 100644 --- a/test/subtitle_reel_number_test.cc +++ b/test/subtitle_reel_number_test.cc @@ -43,11 +43,11 @@ BOOST_AUTO_TEST_CASE (subtitle_reel_number_test) film->set_container (Ratio::from_id ("185")); film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR")); film->set_name ("frobozz"); - shared_ptr content (new StringTextFileContent (film, "test/data/subrip5.srt")); + shared_ptr content (new StringTextFileContent("test/data/subrip5.srt")); film->examine_and_add_content (content); BOOST_REQUIRE (!wait_for_jobs ()); - content->only_caption()->set_use (true); - content->only_caption()->set_burn (false); + content->only_text()->set_use (true); + content->only_text()->set_burn (false); film->set_reel_type (REELTYPE_BY_LENGTH); film->set_interop (true); film->set_reel_length (1024 * 1024 * 512);