From 04472352aedb88884fa4dc9be5ab37ef3980e87d Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 14 Feb 2015 15:13:58 +0100 Subject: 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. --- player/playloop.c | 1 + 1 file changed, 1 insertion(+) (limited to 'player/playloop.c') 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); -- cgit v1.2.3