Commit 9666ea61 authored by Hirokazu Honda's avatar Hirokazu Honda Committed by Commit Bot

media/gpu/video_encode_accelerator_tests: Correct default codec profile

When codec is not specified by test option or --codec=h264, the
description shown by --help states h264 baseline is selected.
But the code selects h264 main. This corrects so that h264
baseline is selected.

Bug: 1045825
Test: video_encode_accelerator_tests on rammus
Change-Id: I989ef66e9604c716e9dd5b26d73efef715f37caa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2367423
Auto-Submit: Hirokazu Honda <hiroh@chromium.org>
Commit-Queue: David Staessens <dstaessens@chromium.org>
Reviewed-by: default avatarDavid Staessens <dstaessens@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801196}
parent 69e3a2a3
......@@ -22,7 +22,7 @@ struct CodecParamToProfile {
const VideoCodecProfile profile;
} kCodecParamToProfile[] = {
{"h264baseline", H264PROFILE_BASELINE},
{"h264", H264PROFILE_MAIN},
{"h264", H264PROFILE_BASELINE},
{"h264main", H264PROFILE_MAIN},
{"h264high", H264PROFILE_HIGH},
{"vp8", VP8PROFILE_ANY},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment