Commit 172379d5 authored by posciak's avatar posciak Committed by Commit bot

V4L2VEA: Expose H264 HW encoding as well, even if VP8 is available

H264 is useful for some users that cannot use VP8.

BUG=chromium:414567
TEST=run apprtc and ensure it still uses VP8 where available

Review URL: https://codereview.chromium.org/603263004

Cr-Commit-Position: refs/heads/master@{#297070}
parent e458b108
......@@ -292,14 +292,14 @@ V4L2VideoEncodeAccelerator::GetSupportedProfiles() {
profile.max_framerate_numerator = 30;
profile.max_framerate_denominator = 1;
profiles.push_back(profile);
} else {
profile.profile = media::H264PROFILE_MAIN;
profile.max_resolution.SetSize(1920, 1088);
profile.max_framerate_numerator = 30;
profile.max_framerate_denominator = 1;
profiles.push_back(profile);
}
profile.profile = media::H264PROFILE_MAIN;
profile.max_resolution.SetSize(1920, 1088);
profile.max_framerate_numerator = 30;
profile.max_framerate_denominator = 1;
profiles.push_back(profile);
return profiles;
}
......
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