diff options
author | Max Kellermann <max@duempel.org> | 2013-01-10 09:50:43 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-10 10:00:53 +0100 |
commit | 53117ac204cd99d9695dc317a78527b43c8e87b7 (patch) | |
tree | f95169c1d5e821946d25ef0cc208e4d23281d6b8 | |
parent | 51a8c109ab964810f5a5c439310f589d92cf1589 (diff) | |
download | mpd-53117ac204cd99d9695dc317a78527b43c8e87b7.tar.gz mpd-53117ac204cd99d9695dc317a78527b43c8e87b7.tar.xz mpd-53117ac204cd99d9695dc317a78527b43c8e87b7.zip |
DecoderThread: signal the client after decoder finishes
Fixes potential dead lock bug.
-rw-r--r-- | src/DecoderThread.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DecoderThread.cxx b/src/DecoderThread.cxx index 8ab157582..21653830b 100644 --- a/src/DecoderThread.cxx +++ b/src/DecoderThread.cxx @@ -416,6 +416,8 @@ decoder_run_song(struct decoder_control *dc, "Failed to decode %s", error_uri); g_free(allocated); } + + g_cond_signal(dc->client_cond); } static void |