| Index: content/gpu/gpu_main.cc
|
| diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
|
| index b34d42f990710d9ec779ffa4d2ebddbf086bee7e..a1819329d0907e16f51b356762f23f7764de9fb2 100644
|
| --- a/content/gpu/gpu_main.cc
|
| +++ b/content/gpu/gpu_main.cc
|
| @@ -23,6 +23,7 @@
|
| #include "content/common/content_constants_internal.h"
|
| #include "content/common/gpu/gpu_config.h"
|
| #include "content/common/gpu/gpu_messages.h"
|
| +#include "content/common/gpu/media/gpu_video_decode_accelerator.h"
|
| #include "content/common/gpu/media/gpu_video_encode_accelerator.h"
|
| #include "content/common/sandbox_linux/sandbox_linux.h"
|
| #include "content/gpu/gpu_child_thread.h"
|
| @@ -332,8 +333,11 @@ int GpuMain(const MainFunctionParams& parameters) {
|
| gpu_info.sandboxed = Sandbox::SandboxIsCurrentlyActive();
|
| #endif
|
|
|
| - gpu_info.video_encode_accelerator_supported_profiles =
|
| - content::GpuVideoEncodeAccelerator::GetSupportedProfiles();
|
| + gpu_info.support_query_video_decode_profiles =
|
| + content::GpuVideoDecodeAccelerator::GetSupportedProfiles(
|
| + &gpu_info.video_decode_accelerator_supported_profiles);
|
| + content::GpuVideoEncodeAccelerator::GetSupportedProfiles(
|
| + &gpu_info.video_encode_accelerator_supported_profiles);
|
| } else {
|
| dead_on_arrival = true;
|
| }
|
|
|