mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
73738d61f9
The IMFTransform interface used by MFTDecoder is documented to require to run on an MTA threads: https://msdn.microsoft.com/en-us/library/windows/desktop/ee892371(v=vs.85).aspx#components We're currently using IMFTransform objects on the main thread, which is STA. So delegate calls to the IMFTransform to the MTA thread when necessary, to ensure it always runs on an MTA thread. The existing uses of IMFTransform objects in the decode thread pool threads will be fine, as those threads are already MTA. We also defer initialization of WMF to the MTA thread, so that we're always interacting with WMF on an MTA thread. MozReview-Commit-ID: Dm8XpdvJLkS --HG-- extra : rebase_source : 0807241c8cdd01c1b99bf946ea4728996ac61f68 |
||
---|---|---|
.. | ||
agnostic | ||
android | ||
apple | ||
ffmpeg | ||
omx | ||
wmf | ||
wrappers | ||
MediaTelemetryConstants.h | ||
moz.build | ||
PDMFactory.cpp | ||
PDMFactory.h | ||
PlatformDecoderModule.h | ||
ReorderQueue.h | ||
SimpleMap.h |