Bug 1270323: P1. Don't reset flag indicating that new data was received. r=cpearce
authorJean-Yves Avenard <jyavenard@mozilla.com>
Sat, 21 May 2016 22:58:40 +0800
changeset 298551 f17f688f419c774d967be6338a32bf95a05848b5
parent 298550 85ce23415ab0c67be46cdc2569bd99bca2dd4c8f
child 298552 adc18bf4eac239df675ef89663290e7fb9e8efa8
push id77229
push userjyavenard@mozilla.com
push dateTue, 24 May 2016 03:57:19 +0000
treeherdermozilla-inbound@5613020111ba [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce
bugs1270323
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1270323: P1. Don't reset flag indicating that new data was received. r=cpearce A bit of a shot in the dark, but it is possible that data got received but that information got lost as reset was called. MozReview-Commit-ID: 1KjQeCFsGPJ
dom/media/MediaFormatReader.h
--- a/dom/media/MediaFormatReader.h
+++ b/dom/media/MediaFormatReader.h
@@ -369,17 +369,16 @@ private:
     // (pending demuxed and decoded).
     // Decoding will be suspended until mInputRequested is set again.
     // The track demuxer is *not* reset.
     void ResetState()
     {
       MOZ_ASSERT(mOwner->OnTaskQueue());
       mDemuxEOS = false;
       mWaitingForData = false;
-      mReceivedNewData = false;
       mDiscontinuity = true;
       mQueuedSamples.Clear();
       mDecodingRequested = false;
       mOutputRequested = false;
       mInputExhausted = false;
       mNeedDraining = false;
       mDraining = false;
       mDrainComplete = false;