summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-19 21:20:39 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-19 21:20:39 +0000
commit853fff581a3005eac1f9dd3a060c5ec448218e4f (patch)
tree4000add1b1f3acce61931335663a71aa316bc42f /media
parent94b2c17468b276f873a74293459553cf9bf019a4 (diff)
downloadchromium_src-853fff581a3005eac1f9dd3a060c5ec448218e4f.zip
chromium_src-853fff581a3005eac1f9dd3a060c5ec448218e4f.tar.gz
chromium_src-853fff581a3005eac1f9dd3a060c5ec448218e4f.tar.bz2
Delay loading Media Foundations DLLs
Checked with Al we are already delay loading d3d9.dll, so add some extra for MF. BUG=53714 TEST=None Review URL: http://codereview.chromium.org/3859005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63112 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r--media/video/mft_h264_decode_engine.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/video/mft_h264_decode_engine.cc b/media/video/mft_h264_decode_engine.cc
index 4558b7c..ea2527b 100644
--- a/media/video/mft_h264_decode_engine.cc
+++ b/media/video/mft_h264_decode_engine.cc
@@ -22,6 +22,10 @@
#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "mf.lib")
#pragma comment(lib, "mfplat.lib")
+#pragma comment(linker, "/DelayLoad:dxva2.dll")
+#pragma comment(linker, "/DelayLoad:d3d9.dll")
+#pragma comment(linker, "/DelayLoad:mf.dll")
+#pragma comment(linker, "/DelayLoad:mfplat.dll")
using base::TimeDelta;