- void prepare (boost::weak_ptr<PlayerVideo> video) const;
- void player_change (ChangeType type, bool frequent);
- void seek_unlocked (DCPTime position, bool accurate);
-
- boost::shared_ptr<Player> _player;
- boost::shared_ptr<Log> _log;
- boost::thread* _thread;
-
- /** mutex to protect _video, _audio and _closed_caption for when we are clearing them and they all need to be
- cleared together without any data being inserted in the interim;
- XXX: is this necessary now that all butler output data is timestamped? Perhaps the locked clear-out
- is only required if we guarantee that get_video() and get_audio() calls are in sync.
- */
- boost::mutex _buffers_mutex;
+ void prepare (std::weak_ptr<PlayerVideo> video);
+ void player_change (ChangeType type, int property);
+ void seek_unlocked (dcpomatic::DCPTime position, bool accurate);
+
+ std::weak_ptr<const Film> _film;
+ std::shared_ptr<Player> _player;
+ boost::thread _thread;
+