Copy current ISDCF name into the film name when 'Use ISDCF name' is un-ticked.
[dcpomatic.git] / src / wx / film_viewer.h
index 2337da6b0def299515654a3b957da6b3a3982568..337b68446cf64bbd2b935ea6bcbda5cc11a12d77 100644 (file)
@@ -28,6 +28,7 @@ class wxToggleButton;
 class FFmpegPlayer;
 class Image;
 class RGBPlusAlphaImage;
+class PlayerVideoFrame;
 
 /** @class FilmViewer
  *  @brief A wx widget to view a preview of a Film.
@@ -48,7 +49,7 @@ class RGBPlusAlphaImage;
 class FilmViewer : public wxPanel
 {
 public:
-       FilmViewer (boost::shared_ptr<Film>, wxWindow *);
+       FilmViewer (wxWindow *);
 
        void set_film (boost::shared_ptr<Film>);
 
@@ -58,7 +59,7 @@ private:
        void slider_moved ();
        void play_clicked ();
        void timer ();
-       void process_video (boost::shared_ptr<const Image>, Eyes, Time);
+       void process_video (boost::shared_ptr<PlayerVideoFrame>, Time);
        void calculate_sizes ();
        void check_play_state ();
        void fetch_current_frame_again ();