gecko-dev/dom/media/platforms
Chris Pearce 73738d61f9 Bug 1389980 - Ensure we only interact with WMF on MTA threads. r=aklotz,mattwoodrow
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
2017-08-15 10:00:14 +12:00
..
agnostic Bug 1390748 - Remove some unnecessary includes. r=jwwang 2017-08-16 17:18:39 +12:00
android Bug 1384495 - p2: resolve drain promise with empty decoded data only when draining complete. r=jya 2017-07-26 15:25:28 +08:00
apple Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj 2017-07-26 16:03:57 -04:00
ffmpeg Bug 1388288 - Make dom/media/platforms build in non-unified mode. r=jya 2017-08-08 14:35:36 +08:00
omx Bug 1389598 - Part 3: Remove gonk references from dom/ r=bkelly 2017-08-11 17:42:11 -07:00
wmf Bug 1389980 - Ensure we only interact with WMF on MTA threads. r=aklotz,mattwoodrow 2017-08-15 10:00:14 +12:00
wrappers Bug 1387801 - Reject invalid H264 content. r=gerald 2017-08-06 17:39:03 +02:00
MediaTelemetryConstants.h
moz.build Bug 1372080 - Reorder frames decoded by Widevine CDM. r=jya 2017-06-12 17:47:05 +12:00
PDMFactory.cpp Bug 1389598 - Part 3: Remove gonk references from dom/ r=bkelly 2017-08-11 17:42:11 -07:00
PDMFactory.h Bug 1349128 - Remove duplicated AndroidDecoderModule in mCurrentPDMs if both PDMAndroidMediaCodecEnabled and PDMAndroidMediaCodecPreferred are set to true; r=jya 2017-03-22 14:14:09 +08:00
PlatformDecoderModule.h Bug 1316211. P16 - remove MediaDecoderReader completely and fix includes. r=gerald 2017-07-20 09:56:08 +08:00
ReorderQueue.h
SimpleMap.h Bug 1344649 - part 3: rename DurationMap and turn it into a generic class. r=jya 2017-03-07 19:49:08 +08:00