Bug 1125472 - Reset video request status on reset decode. r=cpearce

This commit is contained in:
Sotaro Ikeda 2015-01-29 21:50:20 +13:00
parent 95f269cb3f
commit ead2712118

View File

@ -2772,6 +2772,8 @@ nsresult MediaDecoderStateMachine::RunStateMachine()
DecodeTaskQueue()->AwaitIdle();
mReader->ReleaseMediaResources();
}
mAudioRequestStatus = RequestStatus::Idle;
mVideoRequestStatus = RequestStatus::Idle;
return NS_OK;
}