summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/vo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 943e99d246..605d3b3555 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -578,7 +578,8 @@ static bool render_frame(struct vo *vo)
// Even if we're hopelessly behind, rather degrade to 10 FPS playback,
// instead of just freezing the display forever.
in->dropped_frame &= mp_time_us() - in->last_flip < 100 * 1000;
- in->dropped_frame &= in->vsync_timed && !!img;
+ if (in->vsync_timed)
+ in->dropped_frame &= !!img;
if (in->vsync_timed && !img && in->hasframe_rendered &&
prev_vsync > pts + in->vsync_interval_approx) {