diff options
author | Max Kellermann <max@duempel.org> | 2008-10-31 16:29:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-31 16:29:34 +0100 |
commit | 63682eb1b824cbd88b345af616fb335c0f7c3a08 (patch) | |
tree | c92bd59eaf8165e32e4806c68c7753e6de849a88 | |
parent | 347e816247a75cbcc8c3c02f206f3c07005dc069 (diff) | |
download | mpd-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.
-rw-r--r-- | src/decoder_thread.c | 1 |
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: |