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/player_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 '')
-rw-r--r-- | src/player_thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player_thread.c b/src/player_thread.c index 6be7b8884..d2ff1534d 100644 --- a/src/player_thread.c +++ b/src/player_thread.c @@ -1024,7 +1024,7 @@ player_task(gpointer arg) { struct player_control *pc = arg; - struct decoder_control *dc = dc_new(pc); + struct decoder_control *dc = dc_new(pc->cond); decoder_thread_start(dc); player_buffer = music_buffer_new(pc->buffer_chunks); |