decoder: notify player after stop
The player should always be woken up when the decoder quits.
This commit is contained in:
parent
347e816247
commit
63682eb1b8
|
@ -173,6 +173,7 @@ static void * decoder_task(mpd_unused void *arg)
|
||||||
|
|
||||||
dc.state = DECODE_STATE_STOP;
|
dc.state = DECODE_STATE_STOP;
|
||||||
dc.command = DECODE_COMMAND_NONE;
|
dc.command = DECODE_COMMAND_NONE;
|
||||||
|
notify_signal(&pc.notify);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DECODE_COMMAND_STOP:
|
case DECODE_COMMAND_STOP:
|
||||||
|
|
Loading…
Reference in New Issue