Commit bae98f77 authored by Max Kellermann's avatar Max Kellermann

decoder: notify player after entering decodeStart()

Wake up the player as soon as the decoder thread has entered its loop. This fixes a dead lock when the input is blocking.
parent 7ca19736
......@@ -55,6 +55,7 @@ static void decodeStart(void)
dc.state = DECODE_STATE_START;
dc.command = DECODE_COMMAND_NONE;
notify_signal(&pc.notify);
/* wait for the input stream to become ready; its metadata
will be available then */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment