Re-work again so that there's just one encoder; various tweaks to still-image-with...
[dcpomatic.git] / src / wx / film_viewer.h
index dbaf8eee268167d558dd9d05c9ee402b1fdce09b..78320781125e51c18b5c69032c7f702d05d47885 100644 (file)
@@ -48,7 +48,7 @@ private:
        void slider_moved (wxScrollEvent &);
        void play_clicked (wxCommandEvent &);
        void timer (wxTimerEvent &);
-       void process_video (boost::shared_ptr<Image>, boost::shared_ptr<Subtitle>);
+       void process_video (boost::shared_ptr<Image>, bool, boost::shared_ptr<Subtitle>);
        void calculate_sizes ();
        void check_play_state ();
        void update_from_raw ();
@@ -70,6 +70,7 @@ private:
        boost::shared_ptr<Image> _display_frame;
        boost::shared_ptr<RGBPlusAlphaImage> _display_sub;
        Position _display_sub_position;
+       bool _got_frame;
 
        int _out_width;
        int _out_height;