mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
c0ef76853d
commit
a46f95398b
@ -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