summaryrefslogtreecommitdiff
path: root/test/remake_with_subtitle_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-19 22:44:53 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-19 23:45:23 +0100
commit27b83475435dda4e84a90cf59a52f150905c4ab1 (patch)
tree51d0158c7a879f6b2f3c40843c5e5e455069a1dc /test/remake_with_subtitle_test.cc
parent9cb73fbc0fa4643612f01665bc6d9fc430656f32 (diff)
Clean up after previous commit.
Diffstat (limited to 'test/remake_with_subtitle_test.cc')
-rw-r--r--test/remake_with_subtitle_test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/remake_with_subtitle_test.cc b/test/remake_with_subtitle_test.cc
index 4e286523f..5c371e855 100644
--- a/test/remake_with_subtitle_test.cc
+++ b/test/remake_with_subtitle_test.cc
@@ -20,7 +20,7 @@
#include "lib/ffmpeg_content.h"
#include "lib/content_factory.h"
-#include "lib/text_content.h"
+#include "lib/caption_content.h"
#include "lib/film.h"
#include "test.h"
#include <boost/test/unit_test.hpp>
@@ -37,14 +37,14 @@ BOOST_AUTO_TEST_CASE (remake_with_subtitle_test)
shared_ptr<FFmpegContent> content = dynamic_pointer_cast<FFmpegContent>(content_factory(film, private_data / "prophet_short_clip.mkv").front());
film->examine_and_add_content (content);
BOOST_REQUIRE (!wait_for_jobs ());
- content->subtitle->set_burn (true);
- content->subtitle->set_use (true);
+ content->caption->set_burn (true);
+ content->caption->set_use (true);
film->make_dcp ();
BOOST_REQUIRE (!wait_for_jobs ());
boost::filesystem::remove_all (film->dir (film->dcp_name(), false));
- content->subtitle->set_use (false);
+ content->caption->set_use (false);
film->make_dcp ();
BOOST_REQUIRE (!wait_for_jobs ());