X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fxml_subtitle_test.cc;h=7c3ca3efe68e45847f44937e47808d35ecb65b4b;hb=c9244dd9978a462cf9ddaf6691edd98312a790cd;hp=6c3cc9c036b65ef802d703c69f82192966988d5d;hpb=1555c48eda3def5f7ece413a47f0c7ff94dd70dd;p=dcpomatic.git diff --git a/test/xml_subtitle_test.cc b/test/xml_subtitle_test.cc index 6c3cc9c03..7c3ca3efe 100644 --- a/test/xml_subtitle_test.cc +++ b/test/xml_subtitle_test.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2014 Carl Hetherington + Copyright (C) 2014-2015 Carl Hetherington 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 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 ();