Index: content/gpu/gpu_main.cc |
=================================================================== |
--- content/gpu/gpu_main.cc (revision 115211) |
+++ content/gpu/gpu_main.cc (working copy) |
@@ -23,6 +23,7 @@ |
#include "ui/gfx/gl/gl_switches.h" |
#if defined(OS_WIN) |
+#include "content/common/gpu/media/dxva_video_decode_accelerator.h" |
#include "sandbox/src/sandbox.h" |
#endif |
@@ -83,6 +84,9 @@ |
#if defined(OS_WIN) |
sandbox::TargetServices* target_services = |
parameters.sandbox_info->target_services; |
+ // Load the dlls required for H/W video decoding before lowering the process |
+ // token. The dlls like mfplat, d3d9, etc fail to load in the sandbox. |
+ DXVAVideoDecodeAccelerator::LoadDecodingDlls(); |
Ami GONE FROM CHROMIUM
2011/12/21 06:13:55
You'll need to get content/gpu/OWNERS' say-so on t
ananta
2011/12/21 07:04:55
Done.
|
// For windows, if the target_services interface is not zero, the process |
// is sandboxed and we must call LowerToken() before rendering untrusted |
// content. |