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.
This commit is contained in:
parent
63682eb1b8
commit
a1ca32168c
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue