X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilm_viewer.h;h=189b379bf3beeaa68f43a2d343220e307d891ece;hb=94201bd2a5a4cb391b7f2bdeba56b928fed7cfe1;hp=207004f29715b6a5958b478df586f24fb5124719;hpb=2c0478d2b33906845b9d910668b12fe3e8f03a7c;p=dcpomatic.git diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index 207004f29..189b379bf 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -28,7 +28,7 @@ class wxToggleButton; class FFmpegPlayer; class Image; class RGBPlusAlphaImage; -class PlayerImage; +class PlayerVideo; /** @class FilmViewer * @brief A wx widget to view a preview of a Film. @@ -75,4 +75,9 @@ private: dcp::Size _out_size; /** Size of the panel that we have available */ dcp::Size _panel_size; + /** true if the last call to ::get() was specified to be accurate; + * this is used so that when re-fetching the current frame we + * can get the same one that we got last time. + */ + bool _last_get_accurate; };