aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlayerThread.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-10 09:39:23 +0100
committerMax Kellermann <max@duempel.org>2013-01-10 10:01:18 +0100
commitad15ca7104ca299c87b6ac86441573a00c589fef (patch)
tree2b939699f60a1b929d3948fcd57933b10a6a95f0 /src/PlayerThread.cxx
parent53117ac204cd99d9695dc317a78527b43c8e87b7 (diff)
downloadmpd-ad15ca7104ca299c87b6ac86441573a00c589fef.tar.gz
mpd-ad15ca7104ca299c87b6ac86441573a00c589fef.tar.xz
mpd-ad15ca7104ca299c87b6ac86441573a00c589fef.zip
DecoderControl: take ownership of client_cond
Don't let the "client" pass its own GCond. This was not used consistently.
Diffstat (limited to '')
-rw-r--r--src/PlayerThread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx
index 62b43739d..31a9a2a8a 100644
--- a/src/PlayerThread.cxx
+++ b/src/PlayerThread.cxx
@@ -1096,7 +1096,7 @@ player_task(gpointer arg)
{
struct player_control *pc = (struct player_control *)arg;
- struct decoder_control *dc = dc_new(pc->cond);
+ struct decoder_control *dc = dc_new();
decoder_thread_start(dc);
player_buffer = music_buffer_new(pc->buffer_chunks);