summaryrefslogtreecommitdiff
path: root/test/ffmpeg_decoder_error_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/ffmpeg_decoder_error_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/ffmpeg_decoder_error_test.cc')
-rw-r--r--test/ffmpeg_decoder_error_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ffmpeg_decoder_error_test.cc b/test/ffmpeg_decoder_error_test.cc
index b53eabac5..1d3896618 100644
--- a/test/ffmpeg_decoder_error_test.cc
+++ b/test/ffmpeg_decoder_error_test.cc
@@ -53,7 +53,7 @@ BOOST_AUTO_TEST_CASE (check_exception_with_multiple_video_frames_per_packet)
{
auto content = content_factory(TestPaths::private_data() / "chk.mkv")[0];
auto film = new_test_film("check_exception_with_multiple_video_frames_per_packet", { content });
- auto player = std::make_shared<Player>(film, film->playlist());
+ auto player = std::make_shared<Player>(film, film->playlist(), false);
while (!player->pass()) {}
}