summaryrefslogtreecommitdiff
path: root/test/ffmpeg_subtitles_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_subtitles_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_subtitles_test.cc')
-rw-r--r--test/ffmpeg_subtitles_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ffmpeg_subtitles_test.cc b/test/ffmpeg_subtitles_test.cc
index da63063cb..b7f81ff41 100644
--- a/test/ffmpeg_subtitles_test.cc
+++ b/test/ffmpeg_subtitles_test.cc
@@ -43,7 +43,7 @@ BOOST_AUTO_TEST_CASE(decoding_ssa_subs_from_mkv)
vector<string> lines;
- auto player = make_shared<Player>(film, film->playlist());
+ auto player = make_shared<Player>(film, film->playlist(), false);
player->Text.connect([&lines](PlayerText text, TextType, optional<DCPTextTrack>, dcpomatic::DCPTimePeriod) {
for (auto i: text.string) {
lines.push_back(i.text());