Index: content/gpu/gpu_main.cc |
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc |
index b34d42f990710d9ec779ffa4d2ebddbf086bee7e..c089112a221b01d6a6e5a2e031a9f6a84b8bb41d 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,6 +333,9 @@ int GpuMain(const MainFunctionParams& parameters) { |
gpu_info.sandboxed = Sandbox::SandboxIsCurrentlyActive(); |
#endif |
+ gpu_info.video_decode_accelerator_supported_profiles = |
+ content::GpuVideoDecodeAccelerator::GetSupportedProfiles( |
+ &gpu_info.support_query_video_decode_profile); |
gpu_info.video_encode_accelerator_supported_profiles = |
content::GpuVideoEncodeAccelerator::GetSupportedProfiles(); |
} else { |