| Index: content/common/gpu/media/v4l2_video_encode_accelerator.cc
|
| diff --git a/content/common/gpu/media/v4l2_video_encode_accelerator.cc b/content/common/gpu/media/v4l2_video_encode_accelerator.cc
|
| index f491274c2b01e0bf148a85524293a70d0139deb3..d07574008eddcfc7f83501f1b85cd8b902bd8a57 100644
|
| --- a/content/common/gpu/media/v4l2_video_encode_accelerator.cc
|
| +++ b/content/common/gpu/media/v4l2_video_encode_accelerator.cc
|
| @@ -285,9 +285,9 @@ void V4L2VideoEncodeAccelerator::Destroy() {
|
| delete this;
|
| }
|
|
|
| -std::vector<media::VideoEncodeAccelerator::SupportedProfile>
|
| +media::VideoEncodeAccelerator::SupportedProfiles
|
| V4L2VideoEncodeAccelerator::GetSupportedProfiles() {
|
| - std::vector<SupportedProfile> profiles;
|
| + SupportedProfiles profiles;
|
| SupportedProfile profile;
|
| profile.max_resolution.SetSize(1920, 1088);
|
| profile.max_framerate_numerator = 30;
|
| @@ -306,6 +306,10 @@ V4L2VideoEncodeAccelerator::GetSupportedProfiles() {
|
| profile.profile = media::VP8PROFILE_ANY;
|
| profiles.push_back(profile);
|
| break;
|
| + case V4L2_PIX_FMT_VP9:
|
| + profile.profile = media::VP9PROFILE_ANY;
|
| + profiles.push_back(profile);
|
| + break;
|
| }
|
| }
|
|
|
|
|