summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-02 17:53:25 +0200
committerwm4 <wm4@nowhere>2015-05-02 18:09:30 +0200
commitd8e92322fa6eee44bb2713a202b84dfd32cf7ea1 (patch)
tree4b9446b028ee502b91d98e6c7a1a6eab1ac38bac /player/playloop.c
parent15d8cf7fa2b17d3e7d4376242b35c9edcec896b7 (diff)
downloadmpv-d8e92322fa6eee44bb2713a202b84dfd32cf7ea1.tar.bz2
mpv-d8e92322fa6eee44bb2713a202b84dfd32cf7ea1.tar.xz
player: handle hotplug events in idle mode too
Diffstat (limited to 'player/playloop.c')
-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);