+ /* XXX_b: to remove */
+ friend class FilmViewer;
+
+ bool get_next_frame (bool non_blocking);
+ int time_until_next_frame () const;
+ dcpomatic::DCPTime one_video_frame () const;
+
+ int video_frame_rate () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _video_frame_rate;
+ }
+
+ dcpomatic::DCPTime length () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _length;
+ }
+
+ std::pair<boost::shared_ptr<PlayerVideo>, dcpomatic::DCPTime> player_video () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _player_video;
+ }
+
+ void add_dropped () {
+ boost::mutex::scoped_lock lm (_mutex);
+ ++_dropped;
+ }
+