+ StateTimer const & state_timer () const {
+ return _video_view->state_timer ();
+ }
+
+ /* Some accessors and utility methods that VideoView classes need */
+ dcp::Size out_size () const {
+ return _out_size;
+ }
+ bool outline_content () const {
+ return _outline_content;
+ }
+ boost::optional<dcpomatic::Rect<double>> outline_subtitles () const {
+ return _outline_subtitles;
+ }
+ bool pad_black () const {
+ return _pad_black;
+ }
+ std::shared_ptr<Butler> butler () const {
+ return _butler;
+ }
+ ClosedCaptionsDialog* closed_captions_dialog () const {
+ return _closed_captions_dialog;
+ }
+ void finished ();
+ void image_changed (std::shared_ptr<PlayerVideo> video);
+
+ bool pending_idle_get () const {
+ return _idle_get;
+ }
+
+ boost::signals2::signal<void (std::shared_ptr<PlayerVideo>)> ImageChanged;
+ boost::signals2::signal<void (dcpomatic::DCPTime)> Started;
+ boost::signals2::signal<void (dcpomatic::DCPTime)> Stopped;
+ /** While playing back we reached the end of the film (emitted from GUI thread) */
+ boost::signals2::signal<void ()> Finished;
+
+ boost::signals2::signal<bool ()> PlaybackPermitted;