summaryrefslogtreecommitdiffstats
path: root/media/test/ffmpeg_tests/ffmpeg_tests.cc
diff options
context:
space:
mode:
authorfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-17 20:07:52 +0000
committerfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-17 20:07:52 +0000
commit8d5f6b1dcbaf5ed5276db88b7c59ba3e85d146ed (patch)
tree3f2ba66b4bcadf7dfa1ff32a6de9d9edac9a0b32 /media/test/ffmpeg_tests/ffmpeg_tests.cc
parent30491fa004c57ddf60bba847a0d65537e903a856 (diff)
downloadchromium_src-8d5f6b1dcbaf5ed5276db88b7c59ba3e85d146ed.zip
chromium_src-8d5f6b1dcbaf5ed5276db88b7c59ba3e85d146ed.tar.gz
chromium_src-8d5f6b1dcbaf5ed5276db88b7c59ba3e85d146ed.tar.bz2
Enable error recognition and error concealment options in qualification software, for consistency with Chrome, and as a switch in media_bench
BUG=31093 TEST=media_bench --error-correction --stream=video --video-threads=1 d:\mediatests\tulip\tulip2.mp4 Review URL: http://codereview.chromium.org/2107009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47443 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/test/ffmpeg_tests/ffmpeg_tests.cc')
-rw-r--r--media/test/ffmpeg_tests/ffmpeg_tests.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/test/ffmpeg_tests/ffmpeg_tests.cc b/media/test/ffmpeg_tests/ffmpeg_tests.cc
index ff130d1..abfbeff 100644
--- a/media/test/ffmpeg_tests/ffmpeg_tests.cc
+++ b/media/test/ffmpeg_tests/ffmpeg_tests.cc
@@ -215,6 +215,8 @@ int main(int argc, const char** argv) {
}
codec_context->flags2 |= CODEC_FLAG2_FAST;
+ codec_context->error_concealment = FF_EC_GUESS_MVS | FF_EC_DEBLOCK;
+ codec_context->error_recognition = FF_ER_CAREFUL;
// Initialize threaded decode.
if (target_codec == CODEC_TYPE_VIDEO && video_threads > 0) {