diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/closed_caption_test.cc | 1 | ||||
| -rw-r--r-- | test/player_test.cc | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/test/closed_caption_test.cc b/test/closed_caption_test.cc index 4074f8371..35abf1b02 100644 --- a/test/closed_caption_test.cc +++ b/test/closed_caption_test.cc @@ -81,5 +81,6 @@ BOOST_AUTO_TEST_CASE (closed_caption_test2) BOOST_REQUIRE_EQUAL (check.cpls().size(), 1); BOOST_REQUIRE_EQUAL (check.cpls().front()->reels().size(), 1); + std::cout << !check.cpls().front()->reels().front()->closed_captions().size() << "\n"; BOOST_REQUIRE_EQUAL (!check.cpls().front()->reels().front()->closed_captions().size(), 3); } diff --git a/test/player_test.cc b/test/player_test.cc index 605f3bddd..0fe1d953b 100644 --- a/test/player_test.cc +++ b/test/player_test.cc @@ -286,15 +286,17 @@ BOOST_AUTO_TEST_CASE (player_trim_test) struct Sub { PlayerText text; TextType type; + optional<DCPTextTrack> track; DCPTimePeriod period; }; static void -store (list<Sub>* out, PlayerText text, TextType type, DCPTimePeriod period) +store (list<Sub>* out, PlayerText text, TextType type, optional<DCPTextTrack> track, DCPTimePeriod period) { Sub s; s.text = text; s.type = type; + s.track = track; s.period = period; out->push_back (s); } @@ -316,7 +318,7 @@ BOOST_AUTO_TEST_CASE (player_ignore_video_and_audio_test) player->set_ignore_audio (); list<Sub> out; - player->Text.connect (bind (&store, &out, _1, _2, _3)); + player->Text.connect (bind (&store, &out, _1, _2, _3, _4)); while (!player->pass ()) {} BOOST_CHECK_EQUAL (out.size(), 6); |
