summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-20 09:11:14 +0100
committerwm4 <wm4@nowhere>2015-01-20 09:11:14 +0100
commit84928b049d9772b30b94da4f503b1811a4f5c59e (patch)
treeb92f997355c92f4c97811fff68545c85929ffb3a
parent7a7d8d50e23776fb3fb863df9b6cd0b84cf85d92 (diff)
downloadmpv-84928b049d9772b30b94da4f503b1811a4f5c59e.tar.bz2
mpv-84928b049d9772b30b94da4f503b1811a4f5c59e.tar.xz
vo: restore framedrop
Fix inverted condition in commit 234d6329.
-rw-r--r--video/out/vo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 5d6bab4aab..251f32e6af 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -567,7 +567,7 @@ static bool render_frame(struct vo *vo)
in->dropped_frame = duration >= 0 && end_time < next_vsync;
in->dropped_frame &= !(vo->driver->caps & VO_CAP_FRAMEDROP);
- in->dropped_frame &= !(vo->global->opts->frame_dropping & 1);
+ in->dropped_frame &= (vo->global->opts->frame_dropping & 1);
// 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;