decoder: work around race whereby pause kicks during lip-sync
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.
Showing
Please register or sign in to comment