From a1ca32168c380f4f3e92517e215e92fdd8a9dc66 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 31 Oct 2008 16:29:39 +0100 Subject: [PATCH] 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. --- src/decoder_thread.c | 1 - 1 file changed, 1 deletion(-) 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; } }