Bug 1189138: P2. Add useful debugging information to logs. r=cpearce
authorJean-Yves Avenard <jyavenard@mozilla.com>
Thu, 30 Jul 2015 12:22:12 +1000
changeset 287077 e4ea0d56fcb6b593e6f9c304416a8acb7d676662
parent 287076 e35038771f2e896ea79d471552c89647bd39ad46
child 287078 ca2c0a7b3b3bf38abf606b9d315ea1d4d7b9046d
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)
reviewerscpearce
bugs1189138
milestone42.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 1189138: P2. Add useful debugging information to logs. r=cpearce
dom/media/MediaFormatReader.cpp
--- a/dom/media/MediaFormatReader.cpp
+++ b/dom/media/MediaFormatReader.cpp
@@ -1190,18 +1190,19 @@ MediaFormatReader::ResetDecode()
     }
   }
   return MediaDecoderReader::ResetDecode();
 }
 
 void
 MediaFormatReader::Output(TrackType aTrack, MediaData* aSample)
 {
-  LOGV("Decoded %s sample time=%lld dur=%lld",
-       TrackTypeToStr(aTrack), aSample->mTime, aSample->mDuration);
+  LOGV("Decoded %s sample time=%lld timecode=%lld kf=%d dur=%lld",
+       TrackTypeToStr(aTrack), aSample->mTime, aSample->mTimecode,
+       aSample->mKeyframe, aSample->mDuration);
 
   if (!aSample) {
     NS_WARNING("MediaFormatReader::Output() passed a null sample");
     Error(aTrack);
     return;
   }
 
   RefPtr<nsIRunnable> task =