Use VideoView::one_video_frame.
authorCarl Hetherington <cth@carlh.net>
Tue, 19 Nov 2019 23:34:01 +0000 (00:34 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 8 Jan 2020 20:56:47 +0000 (21:56 +0100)
src/wx/simple_video_view.cc

index 135892e07c8d3042c61c8c177d39858daec0b4e9..7aeb317b281a4fb6811f45fa70db0de6989d182c 100644 (file)
@@ -206,7 +206,7 @@ SimpleVideoView::display_player_video ()
                return;
        }
 
                return;
        }
 
-       if (_viewer->playing() && (_viewer->time() - player_video().second) > _viewer->one_video_frame()) {
+       if (_viewer->playing() && (_viewer->time() - player_video().second) > one_video_frame()) {
                /* Too late; just drop this frame before we try to get its image (which will be the time-consuming
                   part if this frame is J2K).
                */
                /* Too late; just drop this frame before we try to get its image (which will be the time-consuming
                   part if this frame is J2K).
                */