| Index: content/renderer/media/rtc_video_decoder.cc
|
| diff --git a/content/renderer/media/rtc_video_decoder.cc b/content/renderer/media/rtc_video_decoder.cc
|
| index 1f43ba24104ed088233a5736d9a36259ad1e497a..86ac8729d22ad34d313b9a7419f38dce6d63a305 100644
|
| --- a/content/renderer/media/rtc_video_decoder.cc
|
| +++ b/content/renderer/media/rtc_video_decoder.cc
|
| @@ -652,10 +652,10 @@ void RTCVideoDecoder::ReusePictureBuffer(int64 picture_buffer_id) {
|
|
|
| bool RTCVideoDecoder::IsProfileSupported(media::VideoCodecProfile profile) {
|
| DCheckGpuVideoAcceleratorFactoriesTaskRunnerIsCurrent();
|
| - media::VideoDecodeAccelerator::SupportedProfiles supported_profiles =
|
| - factories_->GetVideoDecodeAcceleratorSupportedProfiles();
|
| + media::VideoDecodeAccelerator::Capabilities capabilities =
|
| + factories_->GetVideoDecodeAcceleratorCapabilities();
|
|
|
| - for (const auto& supported_profile : supported_profiles) {
|
| + for (const auto& supported_profile : capabilities.supported_profiles) {
|
| if (profile == supported_profile.profile) {
|
| min_resolution_ = supported_profile.min_resolution;
|
| max_resolution_ = supported_profile.max_resolution;
|
|
|