summaryrefslogtreecommitdiff
path: root/dom/media/MediaFormatReader.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/MediaFormatReader.h')
-rw-r--r--dom/media/MediaFormatReader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/media/MediaFormatReader.h b/dom/media/MediaFormatReader.h
index 9e607c5a5..fc782a2d9 100644
--- a/dom/media/MediaFormatReader.h
+++ b/dom/media/MediaFormatReader.h
@@ -210,6 +210,7 @@ private:
, mInputExhausted(false)
, mError(false)
, mNeedDraining(false)
+ , mDraining(false)
, mDrainComplete(false)
, mNumSamplesInput(0)
, mNumSamplesOutput(0)
@@ -258,6 +259,7 @@ private:
bool mInputExhausted;
bool mError;
bool mNeedDraining;
+ bool mDraining;
bool mDrainComplete;
// If set, all decoded samples prior mTimeThreshold will be dropped.
// Used for internal seeking when a change of stream is detected.
@@ -293,6 +295,7 @@ private:
mOutputRequested = false;
mInputExhausted = false;
mNeedDraining = false;
+ mDraining = false;
mDrainComplete = false;
mTimeThreshold.reset();
mOutput.Clear();