mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 982032 - Don't re-run the COMPLETED state in MediaDecoderStateMachine if we've already run it. r=padenot
This commit is contained in:
parent
b0448f4b17
commit
cde0354ac2
@ -690,7 +690,8 @@ MediaDecoderStateMachine::CheckIfDecodeComplete()
|
||||
{
|
||||
AssertCurrentThreadInMonitor();
|
||||
if (mState == DECODER_STATE_SHUTDOWN ||
|
||||
mState == DECODER_STATE_SEEKING) {
|
||||
mState == DECODER_STATE_SEEKING ||
|
||||
mState == DECODER_STATE_COMPLETED) {
|
||||
// Don't change our state if we've already been shutdown, or we're seeking,
|
||||
// since we don't want to abort the shutdown or seek processes.
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user