| 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 d23c19206982131c27a3a324668069fb0d44d501..fc98bc388d3bcd848024e90a45f5bb054a00f29b 100644
|
| --- a/content/common/gpu/media/gpu_video_accelerator_util.cc
|
| +++ b/content/common/gpu/media/gpu_video_accelerator_util.cc
|
| @@ -41,6 +41,9 @@ 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.flags = static_cast<
|
| + media::VideoDecodeAccelerator::SupportedProfile::ProfileFlags>(
|
| + gpu_profile.flags);
|
| profiles.push_back(profile);
|
| }
|
| return profiles;
|
| @@ -57,6 +60,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.flags = static_cast<uint32>(media_profile.flags);
|
| profiles.push_back(profile);
|
| }
|
| return profiles;
|
|
|