summaryrefslogtreecommitdiffstats
path: root/media/media.gyp
diff options
context:
space:
mode:
authorwdzierzanowski <wdzierzanowski@opera.com>2015-05-27 12:35:32 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-27 19:36:07 +0000
commit5105004066c9a728764a1e60ede6f60a44e3ede5 (patch)
tree5137dc4930c80264088ded67eacbef61acdaf1db /media/media.gyp
parent83b0e392044fc31f80929bb33912f220c22c3712 (diff)
downloadchromium_src-5105004066c9a728764a1e60ede6f60a44e3ede5.zip
chromium_src-5105004066c9a728764a1e60ede6f60a44e3ede5.tar.gz
chromium_src-5105004066c9a728764a1e60ede6f60a44e3ede5.tar.bz2
Extract re-usable InitializeMediaFoundation()
Allow media::InitializeMediaFoundation() to be used by any Media Foundation client code. This benefits existing Chromium code as well as any Chromium-based browser that adds its own code calling out to Media Foundation. There are two side effects for DXVAVideoDecodeAccelerator: - MFStartup() and MFShutdown() are now called once during the lifetime of the GPU process rather than per each accelerator instance. - MFStartup() is now called with the MFSTARTUP_LITE flag, which according to MSDN doesn't initialize the sockets library. TEST=media_unittests Committed: https://crrev.com/c0ab75a86447bc23d45ff7086b2375e2cd83c205 Cr-Commit-Position: refs/heads/master@{#331446} Review URL: https://codereview.chromium.org/1149203002 Cr-Commit-Position: refs/heads/master@{#331623}
Diffstat (limited to 'media/media.gyp')
-rw-r--r--media/media.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/media.gyp b/media/media.gyp
index 50cf760..2e0be99 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -399,6 +399,8 @@
'base/video_util.h',
'base/wall_clock_time_source.cc',
'base/wall_clock_time_source.h',
+ 'base/win/mf_initializer.cc',
+ 'base/win/mf_initializer.h',
'base/yuv_convert.cc',
'base/yuv_convert.h',
'blink/skcanvas_video_renderer.cc',