Bug 1249706 - Fix 8fe22dd4fc8a (backout of a085ea2d24bb). r=bustage
authorChris Pearce <cpearce@mozilla.com>
Wed, 25 May 2016 10:51:14 +1200
changeset 370624 1253710274373ffe0928ea7378ef2a60921d84a7
parent 370623 408319d87eacb28848efeab0346eb815440adade
child 370625 2044b159f030e51be397063355d70323bac0df61
push id19130
push userbmo:mh+mozilla@glandium.org
push dateWed, 25 May 2016 07:42:09 +0000
reviewersbustage
bugs1249706
milestone49.0a1
Bug 1249706 - Fix 8fe22dd4fc8a (backout of a085ea2d24bb). r=bustage
dom/media/MediaFormatReader.cpp
--- a/dom/media/MediaFormatReader.cpp
+++ b/dom/media/MediaFormatReader.cpp
@@ -1148,17 +1148,16 @@ MediaFormatReader::Update(TrackType aTra
     if (decoder.mOutput.Length()) {
       RefPtr<MediaData> output = decoder.mOutput[0];
       decoder.mOutput.RemoveElementAt(0);
       decoder.mSizeOfQueue -= 1;
       decoder.mLastSampleTime =
         Some(TimeInterval(TimeUnit::FromMicroseconds(output->mTime),
                           TimeUnit::FromMicroseconds(output->GetEndTime())));
       decoder.mNumSamplesOutputTotal++;
-      decoder.mNumSamplesOutputTotalSinceTelemetry++;
       ReturnOutput(output, aTrack);
       // We have a decoded sample ready to be returned.
       if (aTrack == TrackType::kVideoTrack) {
         uint64_t delta =
           decoder.mNumSamplesOutputTotal - mLastReportedNumDecodedFrames;
         a.mDecoded = static_cast<uint32_t>(delta);
         mLastReportedNumDecodedFrames = decoder.mNumSamplesOutputTotal;
         nsCString error;