DecoderControl: take ownership of client_cond

Don't let the "client" pass its own GCond.  This was not used
consistently.
This commit is contained in:
Max Kellermann
2013-01-10 09:39:23 +01:00
parent 53117ac204
commit ad15ca7104
4 changed files with 8 additions and 7 deletions

View File

@@ -1096,7 +1096,7 @@ player_task(gpointer arg)
{
struct player_control *pc = (struct player_control *)arg;
struct decoder_control *dc = dc_new(pc->cond);
struct decoder_control *dc = dc_new();
decoder_thread_start(dc);
player_buffer = music_buffer_new(pc->buffer_chunks);