| Index: content/common/gpu/media/vt_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/vt_video_decode_accelerator.cc b/content/common/gpu/media/vt_video_decode_accelerator.cc
|
| index a98ce79cccd6fa469829ff8dfda94d43c68d51ad..1f3cf238555e276464a10a522a7e6c285e37eb1a 100644
|
| --- a/content/common/gpu/media/vt_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/vt_video_decode_accelerator.cc
|
| @@ -314,7 +314,7 @@ VTVideoDecodeAccelerator::~VTVideoDecodeAccelerator() {
|
| }
|
|
|
| bool VTVideoDecodeAccelerator::Initialize(
|
| - media::VideoCodecProfile profile,
|
| + const media::VideoDecodeAccelerator::InitParams& params,
|
| Client* client) {
|
| DCHECK(gpu_thread_checker_.CalledOnValidThread());
|
| client_ = client;
|
| @@ -324,7 +324,7 @@ bool VTVideoDecodeAccelerator::Initialize(
|
|
|
| bool profile_supported = false;
|
| for (const auto& supported_profile : kSupportedProfiles) {
|
| - if (profile == supported_profile) {
|
| + if (params.profile == supported_profile) {
|
| profile_supported = true;
|
| break;
|
| }
|
|
|