- void video (boost::shared_ptr<PlayerVideo> video, DCPTime time);
- void audio (boost::shared_ptr<AudioBuffers> audio, DCPTime time);
- void player_changed ();
-
- boost::weak_ptr<const Film> _film;
- boost::shared_ptr<Player> _player;
- boost::thread* _thread;
+ void video (std::shared_ptr<PlayerVideo> video, dcpomatic::DCPTime time);
+ void audio (std::shared_ptr<AudioBuffers> audio, dcpomatic::DCPTime time, int frame_rate);
+ void text (PlayerText pt, TextType type, boost::optional<DCPTextTrack> track, dcpomatic::DCPTimePeriod period);
+ bool should_run () const;
+ 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;