decoder: notify player after stop
The player should always be woken up when the decoder quits.
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user