diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-19 22:44:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-19 23:45:23 +0100 |
| commit | 27b83475435dda4e84a90cf59a52f150905c4ab1 (patch) | |
| tree | 51d0158c7a879f6b2f3c40843c5e5e455069a1dc /test/player_test.cc | |
| parent | 9cb73fbc0fa4643612f01665bc6d9fc430656f32 (diff) | |
Clean up after previous commit.
Diffstat (limited to 'test/player_test.cc')
| -rw-r--r-- | test/player_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/player_test.cc b/test/player_test.cc index d3b6df6da..4ff79b436 100644 --- a/test/player_test.cc +++ b/test/player_test.cc @@ -34,7 +34,7 @@ #include "lib/text_caption_file_content.h" #include "lib/content_factory.h" #include "lib/dcp_content.h" -#include "lib/text_content.h" +#include "lib/caption_content.h" #include "lib/butler.h" #include "lib/compose.hpp" #include "test.h" @@ -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->subtitle->set_use (true); + dcp->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->subtitle->set_use (true); + dcp->caption->set_use (true); shared_ptr<Player> player (new Player (film, film->playlist())); player->set_fast (); |
