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 135892e..7aeb317 100644 (file)
@@ -206,7 +206,7 @@ SimpleVideoView::display_player_video ()
                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).
                */