diff options
author | Max Kellermann <max@duempel.org> | 2011-01-10 21:27:43 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-01-10 21:27:43 +0100 |
commit | a0ad96a787d5df3f0cbd0c40252312700320a849 (patch) | |
tree | 1d9c66b3880180ae6c7453515aaad7942a8b474a /src/decoder_thread.c | |
parent | 39c5af5dbc1ccf0b103daaaed642c2d8af3210a8 (diff) | |
download | mpd-a0ad96a787d5df3f0cbd0c40252312700320a849.tar.gz mpd-a0ad96a787d5df3f0cbd0c40252312700320a849.tar.xz mpd-a0ad96a787d5df3f0cbd0c40252312700320a849.zip |
decoder_control: store GCond object, not a player_control
Remove the decoder dependency on player_control. All player_control
was needed for is to signal the player thread, and we can do that with
a simple GCond as well.
Diffstat (limited to 'src/decoder_thread.c')
-rw-r--r-- | src/decoder_thread.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c index 0bed2e81d..5b05896e4 100644 --- a/src/decoder_thread.c +++ b/src/decoder_thread.c @@ -26,7 +26,6 @@ #include "decoder_api.h" #include "replay_gain_ape.h" #include "input_stream.h" -#include "player_control.h" #include "pipe.h" #include "song.h" #include "tag.h" @@ -67,7 +66,7 @@ decoder_command_finished_locked(struct decoder_control *dc) dc->command = DECODE_COMMAND_NONE; - player_signal(dc->player_control); + g_cond_signal(dc->client_cond); } /** |