| Index: content/common/gpu/media/gpu_video_accelerator_util.cc
|
| diff --git a/content/common/gpu/media/gpu_video_accelerator_util.cc b/content/common/gpu/media/gpu_video_accelerator_util.cc
|
| index 7692fddc40a48b27115815c6d98ee23e4a93906c..635e33153040646d180db272e85f113c09d6a9fe 100644
|
| --- a/content/common/gpu/media/gpu_video_accelerator_util.cc
|
| +++ b/content/common/gpu/media/gpu_video_accelerator_util.cc
|
| @@ -52,6 +52,7 @@ GpuVideoAcceleratorUtil::ConvertGpuToMediaDecodeProfiles(const
|
| static_cast<media::VideoCodecProfile>(gpu_profile.profile);
|
| profile.max_resolution = gpu_profile.max_resolution;
|
| profile.min_resolution = gpu_profile.min_resolution;
|
| + profile.encrypted_only = gpu_profile.encrypted_only;
|
| profiles.push_back(profile);
|
| }
|
| return profiles;
|
| @@ -79,6 +80,7 @@ GpuVideoAcceleratorUtil::ConvertMediaToGpuDecodeProfiles(const
|
| static_cast<gpu::VideoCodecProfile>(media_profile.profile);
|
| profile.max_resolution = media_profile.max_resolution;
|
| profile.min_resolution = media_profile.min_resolution;
|
| + profile.encrypted_only = media_profile.encrypted_only;
|
| profiles.push_back(profile);
|
| }
|
| return profiles;
|
|
|