Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(977)

Unified Diff: content/gpu/gpu_main.cc

Issue 8510039: Initial implementation of the DXVA 2.0 H.264 hardware decoder for pepper for Windows. The decodin... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
« content/common/gpu/media/dxva_video_decode_accelerator.cc ('K') | « content/content_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698