зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1328547. part 2 - remove checks for IsShutdown() which is false in DecodingState. r=kaku
MozReview-Commit-ID: CmU79bt4XoR --HG-- extra : rebase_source : 4580449f41a23924d887ff4f1d28cecf0ed77ee9
This commit is contained in:
Родитель
7bbc498596
Коммит
55f78f10f6
|
@ -1998,13 +1998,13 @@ DecodingState::Enter()
|
|||
|
||||
mOnAudioPopped = AudioQueue().PopEvent().Connect(
|
||||
OwnerThread(), [this] () {
|
||||
if (!mMaster->IsShutdown() && mMaster->NeedToDecodeAudio()) {
|
||||
if (mMaster->NeedToDecodeAudio()) {
|
||||
mMaster->EnsureAudioDecodeTaskQueued();
|
||||
}
|
||||
});
|
||||
mOnVideoPopped = VideoQueue().PopEvent().Connect(
|
||||
OwnerThread(), [this] () {
|
||||
if (!mMaster->IsShutdown() && mMaster->NeedToDecodeVideo()) {
|
||||
if (mMaster->NeedToDecodeVideo()) {
|
||||
mMaster->EnsureVideoDecodeTaskQueued();
|
||||
}
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче