aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-31 16:29:39 +0100
committerMax Kellermann <max@duempel.org>2008-10-31 16:29:39 +0100
commita1ca32168c380f4f3e92517e215e92fdd8a9dc66 (patch)
treea5c5b89c6758ca4f7a30d92736e75be4dbe3705e /src
parent63682eb1b824cbd88b345af616fb335c0f7c3a08 (diff)
downloadmpd-a1ca32168c380f4f3e92517e215e92fdd8a9dc66.tar.gz
mpd-a1ca32168c380f4f3e92517e215e92fdd8a9dc66.tar.xz
mpd-a1ca32168c380f4f3e92517e215e92fdd8a9dc66.zip
decoder: don't wake up player when command==NONE
If nobody sent a command, the player isn't waiting for the decoder. Don't wake it up.
Diffstat (limited to 'src')
-rw-r--r--src/decoder_thread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c
index 1a8817a37..92bcba5ba 100644
--- a/src/decoder_thread.c
+++ b/src/decoder_thread.c
@@ -183,7 +183,6 @@ static void * decoder_task(mpd_unused void *arg)
case DECODE_COMMAND_NONE:
notify_wait(&dc.notify);
- notify_signal(&pc.notify);
break;
}
}