From 84928b049d9772b30b94da4f503b1811a4f5c59e 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 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; -- cgit v1.2.3