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
1 changed files with 1 additions and 1 deletions

View File

@ -1039,7 +1039,7 @@ void run_playloop(struct MPContext *mpctx)
handle_osd_redraw(mpctx); handle_osd_redraw(mpctx);
mp_wait_events(mpctx, mpctx->sleeptime); 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); handle_pause_on_low_cache(mpctx);