summaryrefslogtreecommitdiffstats
path: root/media/base/mock_ffmpeg.h
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-19 01:23:00 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-19 01:23:00 +0000
commit60e84363e57b943ea4901d497648ea111c2877cb (patch)
treeffdbcbe4a4b31bde01d69b4562a5a657f2edf61b /media/base/mock_ffmpeg.h
parentd594b4ae847b2acf973e326cdf71e438265ed257 (diff)
downloadchromium_src-60e84363e57b943ea4901d497648ea111c2877cb.zip
chromium_src-60e84363e57b943ea4901d497648ea111c2877cb.tar.gz
chromium_src-60e84363e57b943ea4901d497648ea111c2877cb.tar.bz2
Disable FFmpeg logging as it interferes with layout tests.
We could disable logging as soon as FFmpeg is loaded in InitializeMediaLibrary(), but we may want logging enabled for different applications using the media library (i.e., media_bench). BUG=16779 TEST=running chrome, test_shell on theora videos shouldn't print any boring log messages Review URL: http://codereview.chromium.org/212013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26641 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/mock_ffmpeg.h')
-rw-r--r--media/base/mock_ffmpeg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/base/mock_ffmpeg.h b/media/base/mock_ffmpeg.h
index 9471dec..eb3c86b 100644
--- a/media/base/mock_ffmpeg.h
+++ b/media/base/mock_ffmpeg.h
@@ -49,6 +49,8 @@ class MockFFmpeg {
MOCK_METHOD1(AVFree, void(void* ptr));
MOCK_METHOD1(AVDupPacket, int(AVPacket* packet));
+ MOCK_METHOD1(AVLogSetLevel, void(int level));
+
// Used for verifying check points during tests.
MOCK_METHOD1(CheckPoint, void(int id));