summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/video.c')
-rw-r--r--player/video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/video.c b/player/video.c
index 3ea5607b35..f4affbd51d 100644
--- a/player/video.c
+++ b/player/video.c
@@ -1037,6 +1037,7 @@ static void handle_display_sync_frame(struct MPContext *mpctx,
// align frame timings on the vsync boundaries. This is unavoidable, and
// for the sake of the video sync calculations we pretend it's perfect.
mpctx->time_frame -= mpctx->display_sync_error;
+ mpctx->time_frame /= opts->playback_speed * video_speed_correction;
mpctx->speed_factor_v = video_speed_correction;