summaryrefslogtreecommitdiff
path: root/test/time_calculation_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-01-20 00:33:08 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-20 20:36:46 +0100
commit8850569d93a8524625b3b595cb6edf45bdf6de07 (patch)
tree9391c57efe416cdeb0d9f11a8bc534659c732d1b /test/time_calculation_test.cc
parent385635f00d39822389adbc99a2d5bdd992f16432 (diff)
Pass tolerant flag into Player.
This is needed because the DCPDecoder ends up needing it when it reads reel information from CPLs. Maybe all that stuff should be in our metadata.
Diffstat (limited to 'test/time_calculation_test.cc')
-rw-r--r--test/time_calculation_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/time_calculation_test.cc b/test/time_calculation_test.cc
index 6c2b92a39..386e50e25 100644
--- a/test/time_calculation_test.cc
+++ b/test/time_calculation_test.cc
@@ -196,7 +196,7 @@ BOOST_AUTO_TEST_CASE (player_time_calculation_test1)
film->set_sequence (false);
film->add_content (content);
- auto player = make_shared<Player>(film, Image::Alignment::COMPACT);
+ auto player = make_shared<Player>(film, Image::Alignment::COMPACT, false);
/* Position 0, no trim, content rate = DCP rate */
content->set_position (film, DCPTime());
@@ -402,7 +402,7 @@ BOOST_AUTO_TEST_CASE (player_time_calculation_test2)
film->set_sequence (false);
film->add_content (content);
- auto player = make_shared<Player>(film, Image::Alignment::COMPACT);
+ auto player = make_shared<Player>(film, Image::Alignment::COMPACT, false);
/* Position 0, no trim, content rate = DCP rate */
content->set_position (film, DCPTime());
@@ -579,7 +579,7 @@ BOOST_AUTO_TEST_CASE (player_time_calculation_test3)
film->set_sequence (false);
film->add_content (content);
- auto player = make_shared<Player>(film, Image::Alignment::COMPACT);
+ auto player = make_shared<Player>(film, Image::Alignment::COMPACT, false);
/* Position 0, no trim, video/audio content rate = video/audio DCP rate */
content->set_position (film, DCPTime());