Add FilmViewer::time_until_next_frame.
[dcpomatic.git] / src / wx / film_viewer.h
index e98fbe176b84a2bbd086536d74c539b3d743fb25..55356f18815885a0218e752e9b4a29ea4d55e4d2 100644 (file)
@@ -119,7 +119,7 @@ public:
                return _gets;
        }
 
-       /* Some accessors that VideoView classes need */
+       /* Some accessors and utility methods that VideoView classes need */
        dcp::Size out_size () const {
                return _out_size;
        }
@@ -135,6 +135,10 @@ public:
        bool pad_black () const {
                return _pad_black;
        }
+       boost::shared_ptr<Butler> butler () const {
+               return _butler;
+       }
+       int time_until_next_frame () const;
 
        boost::signals2::signal<void (boost::weak_ptr<PlayerVideo>)> ImageChanged;
        boost::signals2::signal<void ()> PositionChanged;