diff --git a/src/decode.c b/src/decode.c index 84eeada3f..145f034b1 100644 --- a/src/decode.c +++ b/src/decode.c @@ -536,10 +536,12 @@ static void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * running, abort cross fading */ doCrossFade = -1; - } else + } else { /* wait for the decoder */ + player_sleep(); continue; + } } }