diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-21 15:16:18 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-21 15:16:18 +0100 |
| commit | cbd4450197a083bf58bda510e626f73ba583cb66 (patch) | |
| tree | 2be308772512539570beab36beab02bde72d6d4b /test/player_test.cc | |
| parent | 1013175d5f6adfa0e6a7442e4c9aebb893787748 (diff) | |
Basics of multiple captions per content so that DCPContent can
hold subs and closed captions.
Diffstat (limited to 'test/player_test.cc')
| -rw-r--r-- | test/player_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/player_test.cc b/test/player_test.cc index 510083236..bc4af970e 100644 --- a/test/player_test.cc +++ b/test/player_test.cc @@ -211,7 +211,7 @@ BOOST_AUTO_TEST_CASE (player_seek_test) shared_ptr<DCPContent> dcp (new DCPContent (film, private_data / "awkward_subs")); film->examine_and_add_content (dcp, true); BOOST_REQUIRE (!wait_for_jobs ()); - dcp->caption->set_use (true); + dcp->only_caption()->set_use (true); shared_ptr<Player> player (new Player (film, film->playlist())); player->set_fast (); @@ -242,7 +242,7 @@ BOOST_AUTO_TEST_CASE (player_seek_test2) shared_ptr<DCPContent> dcp (new DCPContent (film, private_data / "awkward_subs2")); film->examine_and_add_content (dcp, true); BOOST_REQUIRE (!wait_for_jobs ()); - dcp->caption->set_use (true); + dcp->only_caption()->set_use (true); shared_ptr<Player> player (new Player (film, film->playlist())); player->set_fast (); |
