Index: content/gpu/gpu_main.cc |
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc |
index 76a6020e0a2a5929f7b865f862c3807111b737b1..f3d3c6169b3c08060eae7ded008bad470680d292 100644 |
--- a/content/gpu/gpu_main.cc |
+++ b/content/gpu/gpu_main.cc |
@@ -24,6 +24,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" |
@@ -336,6 +337,8 @@ int GpuMain(const MainFunctionParams& parameters) { |
gpu_info.sandboxed = Sandbox::SandboxIsCurrentlyActive(); |
#endif |
+ gpu_info.video_decode_accelerator_supported_profiles = |
+ content::GpuVideoDecodeAccelerator::GetSupportedProfiles(); |
gpu_info.video_encode_accelerator_supported_profiles = |
content::GpuVideoEncodeAccelerator::GetSupportedProfiles(); |
} else { |