Index: content/common/gpu/media/vaapi_video_encode_accelerator.cc |
diff --git a/content/common/gpu/media/vaapi_video_encode_accelerator.cc b/content/common/gpu/media/vaapi_video_encode_accelerator.cc |
index 022bec9a6c0a96e31590f482be110ce1bad02aeb..8cddcfb35054f7b69ac62d632aefe27358d6c090 100644 |
--- a/content/common/gpu/media/vaapi_video_encode_accelerator.cc |
+++ b/content/common/gpu/media/vaapi_video_encode_accelerator.cc |
@@ -104,7 +104,6 @@ struct VaapiVideoEncodeAccelerator::BitstreamBufferRef { |
const size_t size; |
}; |
-// static |
std::vector<media::VideoEncodeAccelerator::SupportedProfile> |
VaapiVideoEncodeAccelerator::GetSupportedProfiles() { |
std::vector<SupportedProfile> profiles; |
@@ -116,8 +115,8 @@ VaapiVideoEncodeAccelerator::GetSupportedProfiles() { |
SupportedProfile profile; |
profile.profile = media::H264PROFILE_MAIN; |
profile.max_resolution.SetSize(1920, 1088); |
- profile.max_framerate.numerator = kDefaultFramerate; |
- profile.max_framerate.denominator = 1; |
+ profile.max_framerate_numerator = kDefaultFramerate; |
+ profile.max_framerate_denominator = 1; |
profiles.push_back(profile); |
// This is actually only constrained (see crbug.com/345569). |