diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-30 23:49:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-01 00:20:51 +0100 |
| commit | 5b6b01ea778064a0b0125ea8ebd9272a534cccd2 (patch) | |
| tree | b9fcb7a7336240e700686c256b6aa29d8b7f7fa7 /src/lib/butler.h | |
| parent | d1a57244622f5f4160d0f58af7fe71a829175345 (diff) | |
Give Butler a weak_ptr<Film>
Diffstat (limited to 'src/lib/butler.h')
| -rw-r--r-- | src/lib/butler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/butler.h b/src/lib/butler.h index 6b933be4b..1fe05742f 100644 --- a/src/lib/butler.h +++ b/src/lib/butler.h @@ -37,6 +37,7 @@ class Butler : public ExceptionStore, public boost::noncopyable { public: Butler ( + boost::weak_ptr<const Film> film, boost::shared_ptr<Player> player, AudioMapping map, int audio_channels, @@ -87,6 +88,7 @@ private: void player_change (ChangeType type); void seek_unlocked (dcpomatic::DCPTime position, bool accurate); + boost::weak_ptr<const Film> _film; boost::shared_ptr<Player> _player; boost::thread _thread; |
