Bug 836146 - Put LOG referencing mInitByteRange and mCuesByteRange in MOZ_DASH block r=kinetik
authorSteve Workman <sworkman@mozilla.com>
Wed, 30 Jan 2013 11:35:02 -0800
changeset 120396 6876d078fcdc92b2adb2de93ec9213fee12764bb
parent 120395 722643e05bb7b54afd7fc5a3030029755033bc4e
child 120397 f85c0ab347382781cffb4ec3ca76bc7fcab1ad44
push id24251
push userryanvm@gmail.com
push dateThu, 31 Jan 2013 20:56:22 +0000
treeherdermozilla-central@683b08dc1afd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskinetik
bugs836146
milestone21.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 836146 - Put LOG referencing mInitByteRange and mCuesByteRange in MOZ_DASH block r=kinetik
content/media/webm/WebMReader.cpp
--- a/content/media/webm/WebMReader.cpp
+++ b/content/media/webm/WebMReader.cpp
@@ -259,21 +259,23 @@ void WebMReader::Cleanup()
   }
 }
 
 nsresult WebMReader::ReadMetadata(VideoInfo* aInfo,
                                     MetadataTags** aTags)
 {
   NS_ASSERTION(mDecoder->OnDecodeThread(), "Should be on decode thread.");
 
+#ifdef MOZ_DASH
   LOG(PR_LOG_DEBUG, ("Reader [%p] for Decoder [%p]: Reading WebM Metadata: "
                      "init bytes [%d - %d] cues bytes [%d - %d]",
                      this, mDecoder,
                      mInitByteRange.mStart, mInitByteRange.mEnd,
                      mCuesByteRange.mStart, mCuesByteRange.mEnd));
+#endif
   nestegg_io io;
   io.read = webm_read;
   io.seek = webm_seek;
   io.tell = webm_tell;
   io.userdata = mDecoder;
 #ifdef MOZ_DASH
   int64_t maxOffset = mInitByteRange.IsNull() ? -1 : mInitByteRange.mEnd;
 #else