diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-23 15:48:19 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-23 15:48:19 +0200 |
| commit | 990f879d9af6300068af44c431b1a8e158e7f7a0 (patch) | |
| tree | b938ca31af91c256f01eae8c3566a95763eefdfa /test/time_calculation_test.cc | |
| parent | 4b7185e4eda53534c4d71a1f31ba33ca3dd8dc8d (diff) | |
Nicer fix for 86102d30bf0aad89115bbeb3d8aaa2a27a0aa432
Diffstat (limited to 'test/time_calculation_test.cc')
| -rw-r--r-- | test/time_calculation_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/time_calculation_test.cc b/test/time_calculation_test.cc index f6412d9de..dbcf2677b 100644 --- a/test/time_calculation_test.cc +++ b/test/time_calculation_test.cc @@ -190,7 +190,7 @@ BOOST_AUTO_TEST_CASE (player_time_calculation_test1) film->set_sequence (false); film->add_content (content); - shared_ptr<Player> player (new Player(film, film->playlist(), film->length())); + shared_ptr<Player> player (new Player(film)); /* Position 0, no trim, content rate = DCP rate */ content->set_position (film, DCPTime()); @@ -396,7 +396,7 @@ BOOST_AUTO_TEST_CASE (player_time_calculation_test2) film->set_sequence (false); film->add_content (content); - shared_ptr<Player> player (new Player(film, film->playlist(), film->length())); + shared_ptr<Player> player (new Player(film)); /* Position 0, no trim, content rate = DCP rate */ content->set_position (film, DCPTime()); @@ -573,7 +573,7 @@ BOOST_AUTO_TEST_CASE (player_time_calculation_test3) film->set_sequence (false); film->add_content (content); - shared_ptr<Player> player (new Player(film, film->playlist(), film->length())); + shared_ptr<Player> player (new Player(film)); /* Position 0, no trim, video/audio content rate = video/audio DCP rate */ content->set_position (film, DCPTime()); |
