diff --git a/dom/media/MediaFormatReader.cpp b/dom/media/MediaFormatReader.cpp index bda9bf83a357..f452070d74a0 100644 --- a/dom/media/MediaFormatReader.cpp +++ b/dom/media/MediaFormatReader.cpp @@ -1936,7 +1936,7 @@ MediaFormatReader::HandleDemuxedSamples( auto& decoder = GetDecoderData(aTrack); - if (decoder.mFlushing || decoder.mShuttingDown) { + if (decoder.mFlushing) { LOGV("Decoder operation in progress, let it complete."); return; } @@ -2310,7 +2310,7 @@ MediaFormatReader::Update(TrackType aTrack) LOGV( "Update(%s) ni=%d no=%d in:%" PRIu64 " out:%" PRIu64 - " qs=%u decoding:%d flushing:%d shutdown:%d pending:%u waiting:%d sid:%u", + " qs=%u decoding:%d flushing:%d desc:%s pending:%u waiting:%d sid:%u", TrackTypeToStr(aTrack), needInput, needOutput, @@ -2319,7 +2319,7 @@ MediaFormatReader::Update(TrackType aTrack) uint32_t(size_t(decoder.mSizeOfQueue)), decoder.mDecodeRequest.Exists(), decoder.mFlushing, - decoder.mShuttingDown, + decoder.mDescription, uint32_t(decoder.mOutput.Length()), decoder.mWaitingForData, decoder.mLastStreamSourceID); diff --git a/dom/media/MediaFormatReader.h b/dom/media/MediaFormatReader.h index 49e7071ce1a0..b6ccd4701119 100644 --- a/dom/media/MediaFormatReader.h +++ b/dom/media/MediaFormatReader.h @@ -249,7 +249,6 @@ private: // Set to true if the last operation run on the decoder was a flush. bool mFlushed; MozPromiseHolder mShutdownPromise; - bool mShuttingDown = false; // True if shutdown is in action. MozPromiseRequestHolder mDrainRequest; DrainState mDrainState;