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

Unified Diff: content/common/gpu/media/dxva_video_decode_accelerator.h

Issue 1428213003: Preload the media foundation, h.264 decoder and the dxva2.dll before the gpu sandbox is initialized. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/common/gpu/media/dxva_video_decode_accelerator.h
diff --git a/content/common/gpu/media/dxva_video_decode_accelerator.h b/content/common/gpu/media/dxva_video_decode_accelerator.h
index 24f84a5ff2a11a7ff61230439383964cc5d81f9e..86125eda975025da3af7cbca12071e8a1e90570e 100644
--- a/content/common/gpu/media/dxva_video_decode_accelerator.h
+++ b/content/common/gpu/media/dxva_video_decode_accelerator.h
@@ -79,6 +79,9 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator
static media::VideoDecodeAccelerator::SupportedProfiles
GetSupportedProfiles();
+ // Preload dlls required for decoding.
+ static void PreSandboxInitialization();
+
private:
typedef void* EGLConfig;
typedef void* EGLSurface;

Powered by Google App Engine
This is Rietveld 408576698