Check that get_next_frame succeeds.
[dcpomatic.git] / src / wx / simple_video_view.h
index f318e778b36db9517812aa90a0b4cdb5d0d6c469..a6a5cf47f1783b44235c9d771c6d359ff642b6d6 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "video_view.h"
 #include "lib/position.h"
+#include <dcp/types.h>
 #include <wx/wx.h>
 
 class FilmViewer;
@@ -42,12 +43,13 @@ public:
        bool display_next_frame (bool non_blocking);
 
 private:
+       void refresh_panel ();
        void paint ();
        void timer ();
-       void display_player_video ();
 
        wxPanel* _panel;
        boost::shared_ptr<const Image> _image;
        wxTimer _timer;
        Position<int> _inter_position;
+       dcp::Size _inter_size;
 };