decoder: notify player after stop

The player should always be woken up when the decoder quits.
This commit is contained in:
Max Kellermann 2008-10-31 16:29:34 +01:00
parent 347e816247
commit 63682eb1b8
1 changed files with 1 additions and 0 deletions

View File

@ -173,6 +173,7 @@ static void * decoder_task(mpd_unused void *arg)
dc.state = DECODE_STATE_STOP;
dc.command = DECODE_COMMAND_NONE;
notify_signal(&pc.notify);
break;
case DECODE_COMMAND_STOP: