vo: restore framedrop

Fix inverted condition in commit 234d6329.
This commit is contained in:
wm4 2015-01-20 09:11:14 +01:00
parent 7a7d8d50e2
commit 84928b049d
1 changed files with 1 additions and 1 deletions

View File

@ -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;