summaryrefslogtreecommitdiff
path: root/test/closed_caption_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-21 15:16:18 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-21 15:16:18 +0100
commitcbd4450197a083bf58bda510e626f73ba583cb66 (patch)
tree2be308772512539570beab36beab02bde72d6d4b /test/closed_caption_test.cc
parent1013175d5f6adfa0e6a7442e4c9aebb893787748 (diff)
Basics of multiple captions per content so that DCPContent can
hold subs and closed captions.
Diffstat (limited to 'test/closed_caption_test.cc')
-rw-r--r--test/closed_caption_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/closed_caption_test.cc b/test/closed_caption_test.cc
index a837c1a07..75768eca8 100644
--- a/test/closed_caption_test.cc
+++ b/test/closed_caption_test.cc
@@ -37,7 +37,7 @@ BOOST_AUTO_TEST_CASE (closed_caption_test1)
film->examine_and_add_content (content);
BOOST_REQUIRE (!wait_for_jobs ());
- content->caption->set_type (CAPTION_CLOSED);
+ content->only_caption()->set_type (CAPTION_CLOSED);
film->make_dcp ();
BOOST_REQUIRE (!wait_for_jobs ());