mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1147258 - Check with assertion if there is any queued sample when EOS. r=ajones
This commit is contained in:
parent
26fb4ce03c
commit
9a2ad6b247
@ -202,8 +202,6 @@ GonkMediaDataDecoder::ProcessOutput()
|
||||
}
|
||||
}
|
||||
|
||||
MOZ_ASSERT_IF(mSignaledEOS, !mManager->HasQueuedSample());
|
||||
|
||||
if (rv == NS_ERROR_NOT_AVAILABLE && !mSignaledEOS) {
|
||||
mCallback->InputExhausted();
|
||||
return;
|
||||
@ -217,6 +215,7 @@ GonkMediaDataDecoder::ProcessOutput()
|
||||
mCallback->Output(output);
|
||||
}
|
||||
mCallback->DrainComplete();
|
||||
MOZ_ASSERT_IF(mSignaledEOS, !mManager->HasQueuedSample());
|
||||
mSignaledEOS = false;
|
||||
mDrainComplete = true;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user