summaryrefslogtreecommitdiffstats
path: root/media/tools/media_bench
diff options
context:
space:
mode:
authorfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-18 19:57:41 +0000
committerfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-18 19:57:41 +0000
commit2d57ab2fba8cd0457392bba9828ed46783114376 (patch)
tree78650859dd61c0836bd80336dce7650c08b51899 /media/tools/media_bench
parentd2b4ea2af3e040b577bdec664be0eee7f2f0c4d2 (diff)
downloadchromium_src-2d57ab2fba8cd0457392bba9828ed46783114376.zip
chromium_src-2d57ab2fba8cd0457392bba9828ed46783114376.tar.gz
chromium_src-2d57ab2fba8cd0457392bba9828ed46783114376.tar.bz2
ffmpeg flag CODEC_FLAG2_FAST removed
BUG=52607 TEST=ffmpeg_tests tulip\tulip2.mp4 should be same performance as media_bench.exe --video-threads=3 --fast2 --stream=video tulip\tulip2.mp4 Review URL: http://codereview.chromium.org/3157024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56582 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/tools/media_bench')
-rw-r--r--media/tools/media_bench/media_bench.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/tools/media_bench/media_bench.cc b/media/tools/media_bench/media_bench.cc
index 86833b1..37d7b45 100644
--- a/media/tools/media_bench/media_bench.cc
+++ b/media/tools/media_bench/media_bench.cc
@@ -330,6 +330,7 @@ int main(int argc, const char** argv) {
codec_context->skip_frame = AVDISCARD_NONREF;
}
if (fast2) {
+ // Note this flag is no longer necessary for H264 multithreading.
codec_context->flags2 |= CODEC_FLAG2_FAST;
}
if (error_correction) {