aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/player_control.c')
-rw-r--r--src/player_control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player_control.c b/src/player_control.c
index 4560dec81..63ed75f7b 100644
--- a/src/player_control.c
+++ b/src/player_control.c
@@ -58,7 +58,7 @@ static void player_command(enum player_command cmd)
pc.command = cmd;
while (pc.command != PLAYER_COMMAND_NONE) {
notify_signal(&pc.notify);
- wait_main_task();
+ event_pipe_wait();
}
}