Add only-servers-encode option for debugging / optimisation / testing of servers.
[dcpomatic.git] / test / xml_subtitle_test.cc
index 7c3ca3efe68e45847f44937e47808d35ecb65b4b..536cb7d466f560650ebfd487deddaa29c822953f 100644 (file)
@@ -38,13 +38,14 @@ BOOST_AUTO_TEST_CASE (xml_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<SubRipContent> content (new SubRipContent (film, "test/data/subrip2.srt"));
        content->set_use_subtitles (true);
+       content->set_burn_subtitles (false);
        film->examine_and_add_content (content);
        wait_for_jobs ();
        film->make_dcp ();
        wait_for_jobs ();
 
+       /* Should be blank video with MXF subtitles */
        check_dcp ("test/data/xml_subtitle_test", film->dir (film->dcp_name ()));
 }