DecoderThread: signal the client after decoder finishes

Fixes potential dead lock bug.
This commit is contained in:
Max Kellermann 2013-01-10 09:50:43 +01:00
parent 51a8c109ab
commit 53117ac204

View File

@ -416,6 +416,8 @@ decoder_run_song(struct decoder_control *dc,
"Failed to decode %s", error_uri); "Failed to decode %s", error_uri);
g_free(allocated); g_free(allocated);
} }
g_cond_signal(dc->client_cond);
} }
static void static void