mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
Bug 1341200. Part 9 - remove unused mShuttingDown. r=jya
MozReview-Commit-ID: 8OWgOB07rEP --HG-- extra : rebase_source : edc89b4ba3809409ddf3aa71d1c027f6bdbdb6c7 extra : intermediate-source : 71377f45a8ae845332f31761553dad1f3d2d7f85 extra : source : 5d1b66fb3a4b02aa4bd0405e03d199bbafaafb1e
This commit is contained in:
parent
e8e4792c53
commit
8420ad6d55
@ -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);
|
||||
|
@ -249,7 +249,6 @@ private:
|
||||
// Set to true if the last operation run on the decoder was a flush.
|
||||
bool mFlushed;
|
||||
MozPromiseHolder<ShutdownPromise> mShutdownPromise;
|
||||
bool mShuttingDown = false; // True if shutdown is in action.
|
||||
|
||||
MozPromiseRequestHolder<MediaDataDecoder::DecodePromise> mDrainRequest;
|
||||
DrainState mDrainState;
|
||||
|
Loading…
Reference in New Issue
Block a user