1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-09 08:29:36 +00:00

player: handle hotplug events in idle mode too

This commit is contained in:
wm4 2015-05-02 17:53:25 +02:00
parent 15d8cf7fa2
commit d8e92322fa

View File

@ -1049,6 +1049,7 @@ void mp_idle(struct MPContext *mpctx)
mp_wait_events(mpctx, mpctx->sleeptime); mp_wait_events(mpctx, mpctx->sleeptime);
mpctx->sleeptime = 100.0; mpctx->sleeptime = 100.0;
mp_process_input(mpctx); mp_process_input(mpctx);
handle_command_updates(mpctx);
handle_cursor_autohide(mpctx); handle_cursor_autohide(mpctx);
handle_vo_events(mpctx); handle_vo_events(mpctx);
update_osd_msg(mpctx); update_osd_msg(mpctx);