Bug 1197086: Change error into verbose only. r=rillian
authorJean-Yves Avenard <jyavenard@mozilla.com>
Mon, 14 Sep 2015 09:40:46 +1000
changeset 295114 76af401b52d454a3a2ad7ed26c97d2bb742e3209
parent 295113 d087ef333c9a794fcc851e4b74c5f111c5958770
child 295115 d1cb5ccdb3752d297f04aa47697897173c1cab6c
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrillian
bugs1197086
milestone43.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 1197086: Change error into verbose only. r=rillian the kKeyMaxInputSize is no longer used to determine the size of the allocated memory buffer as it's now dynamic.
media/libstagefright/frameworks/av/media/libstagefright/MPEG4Extractor.cpp
--- a/media/libstagefright/frameworks/av/media/libstagefright/MPEG4Extractor.cpp
+++ b/media/libstagefright/frameworks/av/media/libstagefright/MPEG4Extractor.cpp
@@ -1534,17 +1534,17 @@ status_t MPEG4Extractor::parseChunk(off6
                 mLastTrack->meta->setInt32(kKeyMaxInputSize, max_size + 10 * 2);
             } else {
                 // No size was specified. Pick a conservatively large size.
                 int32_t width, height;
                 if (mLastTrack->meta->findInt32(kKeyWidth, &width) &&
                         mLastTrack->meta->findInt32(kKeyHeight, &height)) {
                     mLastTrack->meta->setInt32(kKeyMaxInputSize, width * height * 3 / 2);
                 } else {
-                    ALOGE("No width or height, assuming worst case 1080p");
+                    ALOGV("No width or height, assuming worst case 1080p");
                     mLastTrack->meta->setInt32(kKeyMaxInputSize, 3110400);
                 }
             }
             *offset += chunk_size;
 
             // Calculate average frame rate.
             const char *mime;
             CHECK(mLastTrack->meta->findCString(kKeyMIMEType, &mime));