diff options
author | wm4 <wm4@nowhere> | 2015-01-20 09:11:14 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-20 09:11:14 +0100 |
commit | 84928b049d9772b30b94da4f503b1811a4f5c59e (patch) | |
tree | b92f997355c92f4c97811fff68545c85929ffb3a /video/out/vo.c | |
parent | 7a7d8d50e23776fb3fb863df9b6cd0b84cf85d92 (diff) | |
download | mpv-84928b049d9772b30b94da4f503b1811a4f5c59e.tar.bz2 mpv-84928b049d9772b30b94da4f503b1811a4f5c59e.tar.xz |
vo: restore framedrop
Fix inverted condition in commit 234d6329.
Diffstat (limited to 'video/out/vo.c')
-rw-r--r-- | video/out/vo.c | 2 |
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; |