Fix video waveform view with GL backend.
[dcpomatic.git] / src / wx / film_viewer.h
index 6e995813c5c0215751ec2ba52f31df6701330903..a0edafe955e38912de638dc98f86ee3a36fb7f92 100644 (file)
@@ -140,12 +140,13 @@ public:
                return _closed_captions_dialog;
        }
        void finished ();
+       void image_changed (boost::shared_ptr<PlayerVideo> video);
 
        bool pending_idle_get () const {
                return _idle_get;
        }
 
-       boost::signals2::signal<void (boost::weak_ptr<PlayerVideo>)> ImageChanged;
+       boost::signals2::signal<void (boost::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) */
@@ -161,6 +162,7 @@ private:
        void idle_handler ();
        void request_idle_display_next_frame ();
        void film_change (ChangeType, Film::Property);
+       void content_change (ChangeType, int property);
        void recreate_butler ();
        void config_changed (Config::Property);
        void film_length_change ();