summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-02 17:53:25 +0200
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-05-07 10:45:14 +0900
commit196e2d426cc5e89b074f983480f9304850b94ecc (patch)
tree40465f58952cb9447f65534b04ac11cffd50dbee
parent99e9294fc9549ce71222a210c5dcbdad4141a3ac (diff)
downloadmpv-196e2d426cc5e89b074f983480f9304850b94ecc.tar.bz2
mpv-196e2d426cc5e89b074f983480f9304850b94ecc.tar.xz
player: handle hotplug events in idle mode too
(cherry picked from commit d8e92322fa6eee44bb2713a202b84dfd32cf7ea1)
-rw-r--r--player/playloop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/playloop.c b/player/playloop.c
index 0c0de44997..c9d74c2950 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -1049,6 +1049,7 @@ void mp_idle(struct MPContext *mpctx)
mp_wait_events(mpctx, mpctx->sleeptime);
mpctx->sleeptime = 100.0;
mp_process_input(mpctx);
+ handle_command_updates(mpctx);
handle_cursor_autohide(mpctx);
handle_vo_events(mpctx);
update_osd_msg(mpctx);