Bug 1062018 - MSE Audio decoder reaching EOS stops decoding - r=kinetik

This commit is contained in:
Chris Double 2014-09-03 15:20:02 +12:00
parent 8e69520a36
commit 8a684d0fd9

View File

@ -87,7 +87,7 @@ MediaSourceReader::OnAudioEOS()
if (SwitchReaders(SWITCH_FORCED)) {
// Success! Resume decoding with next audio decoder.
RequestAudioData();
} else {
} else if (IsEnded()) {
// End of stream.
MSE_DEBUG("MediaSourceReader(%p)::OnAudioEOS reader=%p EOS (readers=%u)",
this, mAudioReader.get(), mDecoders.Length());