mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
Bug 1126125 - Check EOS before calling input->InputExhausted(). r=ajones
This commit is contained in:
parent
1177fb3211
commit
2bb0e235dc
@ -192,7 +192,7 @@ GonkMediaDataDecoder::ProcessOutput()
|
||||
|
||||
MOZ_ASSERT_IF(mSignaledEOS, !mManager->HasQueuedSample());
|
||||
|
||||
if (rv == NS_ERROR_NOT_AVAILABLE) {
|
||||
if (rv == NS_ERROR_NOT_AVAILABLE && !mSignaledEOS) {
|
||||
mCallback->InputExhausted();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user