Bug 1055967 - Fix logging in AudioSink. r=cpearce
authorMatthew Gregan <kinetik@flim.org>
Wed, 20 Aug 2014 01:12:00 +1200
changeset 200740 5cdc7c7332a978ff289dcfe6b5c05798f12fe60d
parent 200739 28f072d3ee85d8d2c085377764f8508888643320
child 200741 2d0190cb96ad9c0951d89ba242f3f343294b523f
push id47988
push usermgregan@mozilla.com
push dateThu, 21 Aug 2014 03:20:32 +0000
treeherdermozilla-inbound@16cad9b4140c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce
bugs1055967
milestone34.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 1055967 - Fix logging in AudioSink. r=cpearce
content/media/AudioSink.cpp
--- a/content/media/AudioSink.cpp
+++ b/content/media/AudioSink.cpp
@@ -297,17 +297,17 @@ AudioSink::PlayFromAudioQueue()
   {
     ReentrantMonitorAutoEnter mon(GetReentrantMonitor());
     NS_WARN_IF_FALSE(mPlaying, "Should be playing");
     // Awaken the decode loop if it's waiting for space to free up in the
     // audio queue.
     GetReentrantMonitor().NotifyAll();
   }
   SINK_LOG_V("playing %u frames of audio at time %lld",
-             this, audio->mFrames, audio->mTime);
+             audio->mFrames, audio->mTime);
   mAudioStream->Write(audio->mAudioData, audio->mFrames);
 
   StartAudioStreamPlaybackIfNeeded();
 
   if (audio->mOffset != -1) {
     mStateMachine->OnPlaybackOffsetUpdate(audio->mOffset);
   }
   return audio->mFrames;