From 53117ac204cd99d9695dc317a78527b43c8e87b7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 10 Jan 2013 09:50:43 +0100 Subject: DecoderThread: signal the client after decoder finishes Fixes potential dead lock bug. --- src/DecoderThread.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3