Make player decide whether subtitles should be burnt based on
[dcpomatic.git] / test / dcp_subtitle_test.cc
index 314b214f2acf5ccc4f576c32c4d0c6661f30d8e4..e8a5a4c04cb25d0ae08b4c590fcee48e74faa48c 100644 (file)
@@ -38,7 +38,6 @@ BOOST_AUTO_TEST_CASE (dcp_subtitle_test)
        film->set_container (Ratio::from_id ("185"));
        film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR"));
        film->set_name ("frobozz");
-       film->set_burn_subtitles (false);
        shared_ptr<DCPSubtitleContent> content (new DCPSubtitleContent (film, "test/data/dcp_sub.xml"));
        film->examine_and_add_content (content);
        wait_for_jobs ();
@@ -46,6 +45,7 @@ BOOST_AUTO_TEST_CASE (dcp_subtitle_test)
        BOOST_CHECK_EQUAL (content->full_length(), DCPTime::from_seconds (2));
 
        content->set_use_subtitles (true);
+       content->set_burn_subtitles (false);
        film->make_dcp ();
        wait_for_jobs ();