summaryrefslogtreecommitdiff
path: root/src/tools
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 /src/tools
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 'src/tools')
-rw-r--r--src/tools/dcpomatic_player.cc2
-rw-r--r--src/tools/server_test.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc
index 0ae5acf26..30318175b 100644
--- a/src/tools/dcpomatic_player.cc
+++ b/src/tools/dcpomatic_player.cc
@@ -790,7 +790,7 @@ private:
auto path = boost::filesystem::path (wx_to_std(dialog.GetPath()));
- auto player = make_shared<Player>(_film, Image::Alignment::PADDED);
+ auto player = make_shared<Player>(_film, Image::Alignment::PADDED, true);
player->seek(_viewer.position(), true);
bool done = false;
diff --git a/src/tools/server_test.cc b/src/tools/server_test.cc
index ff3295599..e7c14ab56 100644
--- a/src/tools/server_test.cc
+++ b/src/tools/server_test.cc
@@ -155,7 +155,7 @@ main (int argc, char* argv[])
film = make_shared<Film>(film_dir);
film->read_metadata ();
- auto player = make_shared<Player>(film, Image::Alignment::COMPACT);
+ auto player = make_shared<Player>(film, Image::Alignment::COMPACT, false);
player->Video.connect (bind(&process_video, _1));
while (!player->pass ()) {}
} catch (std::exception& e) {