Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
V4L2VEA: Expose H264 HW encoding as well, even if VP8 is available
Browse files Browse the repository at this point in the history
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}
  • Loading branch information
posciak authored and Commit bot committed Sep 26, 2014
1 parent e458b10 commit 172379d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions content/common/gpu/media/v4l2_video_encode_accelerator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 172379d

Please sign in to comment.