diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-21 10:25:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-21 10:25:46 +0100 |
| commit | 81915d4db00c333da2debd2f8e9a0c02f7a316a3 (patch) | |
| tree | 68062af342d2ef6c7a3b5aebbe7cb761bbab5372 /src/lib/butler.h | |
| parent | 4c905330c2052cd77be09d9deb301f1fcf4b81f2 (diff) | |
wipopt-hacx
Diffstat (limited to 'src/lib/butler.h')
| -rw-r--r-- | src/lib/butler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/butler.h b/src/lib/butler.h index 6bb0467af..bc6d7485a 100644 --- a/src/lib/butler.h +++ b/src/lib/butler.h @@ -95,6 +95,9 @@ public: std::pair<size_t, std::string> memory_used () const; + void enable_lookahead(); + void disable_lookahead(); + private: void thread (); void video (std::shared_ptr<PlayerVideo> video, dcpomatic::DCPTime time); @@ -152,6 +155,8 @@ private: */ boost::optional<dcpomatic::DCPTime> _awaiting; + boost::atomic<bool> _lookahead; + boost::signals2::scoped_connection _player_video_connection; boost::signals2::scoped_connection _player_audio_connection; boost::signals2::scoped_connection _player_text_connection; |
