mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 05:15:12 +00:00
parent
7a7d8d50e2
commit
84928b049d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user