Hand-apply bbfb370d7de28ec1e8f307865cc6253bb5d4366e from master; quicker digest calcu...
[dcpomatic.git] / test / xml_subtitle_test.cc
index 6c3cc9c036b65ef802d703c69f82192966988d5d..7c3ca3efe68e45847f44937e47808d35ecb65b4b 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2014-2015 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -40,7 +40,7 @@ BOOST_AUTO_TEST_CASE (xml_subtitle_test)
        film->set_name ("frobozz");
        film->set_burn_subtitles (false);
        shared_ptr<SubRipContent> content (new SubRipContent (film, "test/data/subrip2.srt"));
-       content->set_subtitle_use (true);
+       content->set_use_subtitles (true);
        film->examine_and_add_content (content);
        wait_for_jobs ();
        film->make_dcp ();