X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ffilm_viewer.h;h=beb1a5d749aee4bbeea8ade5b8153eee72465858;hp=6b6aa78f5dd1c3bb4fe5542533e5eb8f12f5a83b;hb=805487369e57e5eb57911805ba6de78b653d79ad;hpb=694a9f48880efd428c8137e975de3581ad0a75a9 diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index 6b6aa78f5..beb1a5d74 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -69,7 +69,7 @@ public: void seek_by (dcpomatic::DCPTime by, bool accurate); /** @return our `playhead' position; this may not lie exactly on a frame boundary */ dcpomatic::DCPTime position () const { - return _video_position; + return _video_view->position(); } dcpomatic::DCPTime one_video_frame () const; @@ -159,7 +159,7 @@ private: void calculate_sizes (); void player_change (ChangeType type, int, bool); void idle_handler (); - void request_idle_get (); + void request_idle_display_next_frame (); void film_change (ChangeType, Film::Property); void recreate_butler (); void config_changed (Config::Property); @@ -178,7 +178,6 @@ private: bool _coalesce_player_changes; std::list _pending_player_changes; - dcpomatic::DCPTime _video_position; Position _inter_position; dcp::Size _inter_size;