From 224abe9e23f1ea8e34401e8fab59262501b70c46 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 20 Jan 2015 09:11:14 +0100 Subject: vo: restore framedrop Fix inverted condition in commit 234d6329. --- video/out/vo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3