summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-14 15:13:58 +0100
committerwm4 <wm4@nowhere>2015-02-14 15:13:58 +0100
commit04472352aedb88884fa4dc9be5ab37ef3980e87d (patch)
treeecc18d1c04e1feb1bc6a7ce5897d68e6fb509f91 /player/playloop.c
parenta799a4c57f998ed2ef7f5d306d4dad32c173c349 (diff)
downloadmpv-04472352aedb88884fa4dc9be5ab37ef3980e87d.tar.bz2
mpv-04472352aedb88884fa4dc9be5ab37ef3980e87d.tar.xz
player: fix audio-device-list updates
The way the AO wakes up the playloop has nothing to do with events; instead we must query the events on the AO once the playloop was woken up. Querying the events in every playloop iteration is thus the correct way to do this.
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 defc6ba6f3..9471664e10 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -986,6 +986,7 @@ void run_playloop(struct MPContext *mpctx)
handle_cursor_autohide(mpctx);
handle_vo_events(mpctx);
handle_heartbeat_cmd(mpctx);
+ handle_command_updates(mpctx);
fill_audio_out_buffers(mpctx, endpts);
write_video(mpctx, endpts);