summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-20 09:11:14 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:20 +0900
commit224abe9e23f1ea8e34401e8fab59262501b70c46 (patch)
tree5e7239656dd3490f35fd5dd63b96a44eaf6a3128
parentc6d54cccb53767e4077ae53c7f171aecd8368f92 (diff)
downloadmpv-224abe9e23f1ea8e34401e8fab59262501b70c46.tar.bz2
mpv-224abe9e23f1ea8e34401e8fab59262501b70c46.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 7c0fce8e55..a2c973643c 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -566,7 +566,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;