summaryrefslogtreecommitdiff
path: root/src/lib/player.h
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/lib/player.h
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/lib/player.h')
-rw-r--r--src/lib/player.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/player.h b/src/lib/player.h
index eba206c9b..2faffe971 100644
--- a/src/lib/player.h
+++ b/src/lib/player.h
@@ -79,8 +79,8 @@ public:
class Player
{
public:
- Player (std::shared_ptr<const Film>, Image::Alignment subtitle_alignment);
- Player (std::shared_ptr<const Film>, std::shared_ptr<const Playlist> playlist);
+ Player(std::shared_ptr<const Film>, Image::Alignment subtitle_alignment, bool tolerant);
+ Player(std::shared_ptr<const Film>, std::shared_ptr<const Playlist> playlist, bool tolerant);
Player (Player const&) = delete;
Player& operator= (Player const&) = delete;