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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player_control.c b/src/player_control.c
index aa018ceda..ab162ef26 100644
--- a/src/player_control.c
+++ b/src/player_control.c
@@ -53,11 +53,11 @@ void pc_deinit(void)
}
void
-player_wait_decoder(void)
+player_wait_decoder(struct decoder_control *dc)
{
/* during this function, the decoder lock is held, because
we're waiting for the decoder thread */
- g_cond_wait(pc.cond, dc.mutex);
+ g_cond_wait(pc.cond, dc->mutex);
}
void