| 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 aebe9f2846c8e5e72cd12c73af4ccacfe66cf01d..464639fc96e80c16b848d98d246abb9a5a4500f3 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;
|
|
|