Bug 1126125 - Check EOS before calling input->InputExhausted(). r=ajones

This commit is contained in:
Alfredo Yang 2015-01-26 19:12:00 +01:00
parent 1177fb3211
commit 2bb0e235dc

View File

@ -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;
}