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.
This commit is contained in:
parent
7ca19736c9
commit
bae98f777b
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue