aboutsummaryrefslogtreecommitdiff
path: root/src/DecoderThread.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-10 09:50:43 +0100
committerMax Kellermann <max@duempel.org>2013-01-10 10:00:53 +0100
commit53117ac204cd99d9695dc317a78527b43c8e87b7 (patch)
treef95169c1d5e821946d25ef0cc208e4d23281d6b8 /src/DecoderThread.cxx
parent51a8c109ab964810f5a5c439310f589d92cf1589 (diff)
DecoderThread: signal the client after decoder finishes
Fixes potential dead lock bug.
Diffstat (limited to 'src/DecoderThread.cxx')
-rw-r--r--src/DecoderThread.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DecoderThread.cxx b/src/DecoderThread.cxx
index 8ab15758..21653830 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