mirror of https://github.com/mpv-player/mpv
player: raise maximum idle time
No reason to wake up every other minute.
This commit is contained in:
parent
8c388ce79c
commit
60794e2359
|
@ -1039,7 +1039,7 @@ void run_playloop(struct MPContext *mpctx)
|
|||
handle_osd_redraw(mpctx);
|
||||
|
||||
mp_wait_events(mpctx, mpctx->sleeptime);
|
||||
mpctx->sleeptime = 100.0; // infinite for all practical purposes
|
||||
mpctx->sleeptime = 1e9; // infinite for all practical purposes
|
||||
|
||||
handle_pause_on_low_cache(mpctx);
|
||||
|
||||
|
|
Loading…
Reference in New Issue