1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-17 12:31:25 +00:00

player: raise maximum idle time

No reason to wake up every other minute.
This commit is contained in:
wm4 2015-08-07 02:41:02 +02:00
parent 8c388ce79c
commit 60794e2359

View File

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