mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1043111 - Allow |mState==DECODER_STATE_DORMANT| in MediaDecoderStateMachine::ResetPlayback(). r=kinetik
This commit is contained in:
parent
4b3250e76e
commit
12ea633a7e
@ -1405,7 +1405,9 @@ void MediaDecoderStateMachine::Play()
|
||||
|
||||
void MediaDecoderStateMachine::ResetPlayback()
|
||||
{
|
||||
MOZ_ASSERT(mState == DECODER_STATE_SEEKING || mState == DECODER_STATE_SHUTDOWN);
|
||||
MOZ_ASSERT(mState == DECODER_STATE_SEEKING ||
|
||||
mState == DECODER_STATE_SHUTDOWN ||
|
||||
mState == DECODER_STATE_DORMANT);
|
||||
mVideoFrameEndTime = -1;
|
||||
mAudioStartTime = -1;
|
||||
mAudioEndTime = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user