From 63682eb1b824cbd88b345af616fb335c0f7c3a08 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 31 Oct 2008 16:29:34 +0100 Subject: [PATCH] decoder: notify player after stop The player should always be woken up when the decoder quits. --- src/decoder_thread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/decoder_thread.c b/src/decoder_thread.c index 822931a61..1a8817a37 100644 --- a/src/decoder_thread.c +++ b/src/decoder_thread.c @@ -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: