Commit a1ca3216 authored by Max Kellermann's avatar Max Kellermann

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.
parent 63682eb1
...@@ -183,7 +183,6 @@ static void * decoder_task(mpd_unused void *arg) ...@@ -183,7 +183,6 @@ static void * decoder_task(mpd_unused void *arg)
case DECODE_COMMAND_NONE: case DECODE_COMMAND_NONE:
notify_wait(&dc.notify); notify_wait(&dc.notify);
notify_signal(&pc.notify);
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment