mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1156708: Part5. Don't ignore DrainComplete() on first demux. r=me
Followup on part4 (7ab507ec07cb) which introduce this regression.
This commit is contained in:
parent
b90f6b5dcc
commit
406d810b42
@ -901,6 +901,7 @@ MediaFormatReader::Update(TrackType aTrack)
|
||||
LOGV("Update(%s) ni=%d no=%d", TrackTypeToStr(aTrack), needInput, needOutput);
|
||||
|
||||
if (decoder.mDemuxEOS && !decoder.mDemuxEOSServiced) {
|
||||
decoder.mOutputRequested = true;
|
||||
decoder.mDecoder->Drain();
|
||||
decoder.mDemuxEOSServiced = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user