Bug 1180935: P3. Fixed MediaFormatReader::Update logging. r=gerald a=ritu
authorJean-Yves Avenard <jyavenard@mozilla.com>
Wed, 12 Aug 2015 21:24:59 +1000
changeset 289083 3ad6b0893cd3ba741cbda16757cbb634aa7a3db4
parent 289082 581a13dc2ecd1af32f041d1d758007a6a56e596f
child 289084 2a69733795486d362a5591c8801ede7142e854af
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgerald, ritu
bugs1180935
milestone42.0a2
Bug 1180935: P3. Fixed MediaFormatReader::Update logging. r=gerald a=ritu
dom/media/MediaFormatReader.cpp
--- a/dom/media/MediaFormatReader.cpp
+++ b/dom/media/MediaFormatReader.cpp
@@ -1099,20 +1099,20 @@ MediaFormatReader::Update(TrackType aTra
 
   if (!NeedInput(decoder)) {
     LOGV("No need for additional input");
     return;
   }
 
   needInput = true;
 
-  LOGV("Update(%s) ni=%d no=%d ie=%d, in:%d out:%d qs=%d sid:%d",
+  LOGV("Update(%s) ni=%d no=%d ie=%d, in:%llu out:%llu qs=%u sid:%u",
        TrackTypeToStr(aTrack), needInput, needOutput, decoder.mInputExhausted,
        decoder.mNumSamplesInput, decoder.mNumSamplesOutput,
-       size_t(decoder.mSizeOfQueue), decoder.mLastStreamSourceID);
+       uint32_t(size_t(decoder.mSizeOfQueue)), decoder.mLastStreamSourceID);
 
   // Demux samples if we don't have some.
   RequestDemuxSamples(aTrack);
   // Decode all pending demuxed samples.
   DecodeDemuxedSamples(aTrack, a);
 }
 
 void