mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
player: raise maximum idle time
No reason to wake up every other minute.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user