aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-31 16:29:34 +0100
committerMax Kellermann <max@duempel.org>2008-10-31 16:29:34 +0100
commit63682eb1b824cbd88b345af616fb335c0f7c3a08 (patch)
treec92bd59eaf8165e32e4806c68c7753e6de849a88 /src/decoder_thread.c
parent347e816247a75cbcc8c3c02f206f3c07005dc069 (diff)
downloadmpd-63682eb1b824cbd88b345af616fb335c0f7c3a08.tar.gz
mpd-63682eb1b824cbd88b345af616fb335c0f7c3a08.tar.xz
mpd-63682eb1b824cbd88b345af616fb335c0f7c3a08.zip
decoder: notify player after stop
The player should always be woken up when the decoder quits.
Diffstat (limited to 'src/decoder_thread.c')
-rw-r--r--src/decoder_thread.c1
1 files changed, 1 insertions, 0 deletions
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: