summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-02-24 10:15:08 +0000
committerCarl Hetherington <cth@carlh.net>2016-02-24 10:15:08 +0000
commit375be0bd7a0f2d18474f81214603f3ce5fcae8b9 (patch)
treeddb8be1be75dbaa93946a3419710db6e5b4f8e0e
parentfc16d31f5192fa575b86911e0ed033171765dd5d (diff)
Fix test with new sequencing behaviour for subtitle content.
-rw-r--r--test/xml_subtitle_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/xml_subtitle_test.cc b/test/xml_subtitle_test.cc
index 4e0dcf8ae..0d7384797 100644
--- a/test/xml_subtitle_test.cc
+++ b/test/xml_subtitle_test.cc
@@ -59,12 +59,14 @@ BOOST_AUTO_TEST_CASE (xml_subtitle_test2)
film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR"));
film->set_name ("frobozz");
film->set_interop (true);
+ film->set_sequence (false);
shared_ptr<TextSubtitleContent> content (new TextSubtitleContent (film, "test/data/subrip2.srt"));
content->set_use_subtitles (true);
content->set_burn_subtitles (false);
film->examine_and_add_content (content);
film->examine_and_add_content (content);
wait_for_jobs ();
+ content->set_position (DCPTime (0));
film->make_dcp ();
wait_for_jobs ();
film->write_metadata ();