• Rémi Denis-Courmont's avatar
    decoder: work around race whereby pause kicks during lip-sync · 1d8de367
    Rémi Denis-Courmont authored
    DecoderWaitDate() releases the lock and thus state can change.
    In particular, the aout can be destroyed, or paused or resumed.
    So those checks must be done after DecoderWaitDate().
    
    There may be a cleaner way to do this, but it will likely be more
    invasive. This patch fixes #5825 and probably #6369 too.
    1d8de367
decoder.c 72.6 KB