Basics of multiple captions per content so that DCPContent can
[dcpomatic.git] / test / closed_caption_test.cc
index a837c1a079c87bc4fb1eaaf8065437c2f29c9415..75768eca88a66080ee322c1b07a709c95c0dbffa 100644 (file)
@@ -37,7 +37,7 @@ BOOST_AUTO_TEST_CASE (closed_caption_test1)
        film->examine_and_add_content (content);
        BOOST_REQUIRE (!wait_for_jobs ());
 
-       content->caption->set_type (CAPTION_CLOSED);
+       content->only_caption()->set_type (CAPTION_CLOSED);
 
        film->make_dcp ();
        BOOST_REQUIRE (!wait_for_jobs ());