DescriptionExtract 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}
Committed: https://crrev.com/5105004066c9a728764a1e60ede6f60a44e3ede5
Cr-Commit-Position: refs/heads/master@{#331623}
Patch Set 1 #Patch Set 2 : No need to ever mutate member #
Total comments: 4
Patch Set 3 : Update GN files, Ensure...Initialized -> Initialize... #Patch Set 4 : Fix linkage of InitializeMediaFoundation() in GN builds #
Messages
Total messages: 21 (4 generated)
|