gecko-dev/dom/media/gmp
Gerald Squelart 40a8d30e46 Bug 1268379 - Delay WMF checks in GMPParent - r=jesup
The WMF HasAAC/HasH264 checks were done off the main thread, as soon as the
plugin was loaded, which was way too soon in the overall startup process, when
the WMF subsystem may not have been properly initialized yet, or may be in the
middle of it.

The solution here is to delay these checks until they are actually needed to
respond to a format-support request, as they come later in the process.

Note: This may not be the ideal solution yet, as we are still relying on some
magic sequencing of events. Other avenues have been explored unsuccessfully
yet, but we may want to revisit this issue after this urgent patch has landed.

MozReview-Commit-ID: JVgINc5FLFx

--HG--
extra : rebase_source : 3d02570ed26043d050d4848d968e3c673b35f5c3
2016-05-02 15:03:11 +10:00
..
gmp-api Bug 1237151 (part 1) - Remove ignored qualifiers in dom/media/gmp/. r=cpearce. 2016-01-07 15:43:37 -08:00
rlz Bug 1249424 - Remove use of nsAutoArrayPtr from librlz. r=gerald 2016-02-24 10:53:10 +13:00
widevine-adapter Bug 1245789 - Add Widevine CDM -> GMP adapter. r=gerald 2016-04-12 16:12:20 +12:00
GMPAudioDecoderChild.cpp
GMPAudioDecoderChild.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPAudioDecoderParent.cpp Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian 2015-11-15 14:49:01 +01:00
GMPAudioDecoderParent.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPAudioDecoderProxy.h
GMPAudioHost.cpp
GMPAudioHost.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPCallbackBase.h
GMPChild.cpp Bug 1267453 - Amazon Widevine rejects HDCP on MacBook Pro with or without an external display. r=gcp 2016-05-02 19:33:08 +02:00
GMPChild.h Bug 1267453 - Amazon Widevine rejects HDCP on MacBook Pro with or without an external display. r=gcp 2016-05-02 19:33:08 +02:00
GMPContentChild.cpp Bug 1266595: Replace Chromium Task with Runnable. r=froydnj 2016-04-27 17:06:05 -07:00
GMPContentChild.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPContentParent.cpp Backed out changeset 85ce8cb0639a (bug 1268313) 2016-04-29 14:21:16 +02:00
GMPContentParent.h Backed out changeset 85ce8cb0639a (bug 1268313) 2016-04-29 14:21:16 +02:00
GMPDecryptorChild.cpp Backed out changeset 4bcb784492bb (bug 1268313) 2016-04-29 14:21:18 +02:00
GMPDecryptorChild.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPDecryptorParent.cpp Bug 1245789 - Handle unencrypted samples in encrypted media. r=gerald 2016-04-12 16:12:20 +12:00
GMPDecryptorParent.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPDecryptorProxy.h Bug 1237151 (part 1) - Remove ignored qualifiers in dom/media/gmp/. r=cpearce. 2016-01-07 15:43:37 -08:00
GMPEncryptedBufferDataImpl.cpp Bug 1237151 (part 1) - Remove ignored qualifiers in dom/media/gmp/. r=cpearce. 2016-01-07 15:43:37 -08:00
GMPEncryptedBufferDataImpl.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPLoader.cpp Bug 1245789 - Add GMPAdapter which can be passed to GMPLoader to adapt non GMP library to GMP API. r=gerald 2016-04-12 16:12:20 +12:00
GMPLoader.h Bug 1245789 - Add GMPAdapter which can be passed to GMPLoader to adapt non GMP library to GMP API. r=gerald 2016-04-12 16:12:20 +12:00
GMPMessageUtils.h Bug 1262473 - don't needlessly construct nsAutoCString temporaries when serializing GMPVideoCodec; r=cpearce 2016-03-31 15:19:38 -04:00
GMPParent.cpp Bug 1268379 - Delay WMF checks in GMPParent - r=jesup 2016-05-02 15:03:11 +10:00
GMPParent.h Bug 1245789 - Change GMPParent::InitPromise to instead use GenericPromise as defined in MozPromise.h. r=gerald 2016-04-12 16:12:22 +12:00
GMPPlatform.cpp Bug 1268822 - rename mozilla::gmp::Runnable/SyncRunnable in order not to confuse NS_LOG_ADDREF/NS_LOG_RELEASE. r=rjesup. 2016-05-03 10:37:24 +08:00
GMPPlatform.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPProcessChild.cpp Bug 1258905: Remove a bunch of dead IPC code. r=jld 2016-03-28 10:28:14 -07:00
GMPProcessChild.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPProcessParent.cpp Backed out changeset fd833da413ad (bug 1268313) 2016-04-29 14:21:25 +02:00
GMPProcessParent.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPService.cpp Backed out changeset 85ce8cb0639a (bug 1268313) 2016-04-29 14:21:16 +02:00
GMPService.h Backed out changeset 85ce8cb0639a (bug 1268313) 2016-04-29 14:21:16 +02:00
GMPServiceChild.cpp Bug 1268714 - Check for failure result or a failed nsresult from SendLoadGMP. r=mccr8 2016-04-29 13:24:30 -05:00
GMPServiceChild.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPServiceParent.cpp Backed out changeset 85ce8cb0639a (bug 1268313) 2016-04-29 14:21:16 +02:00
GMPServiceParent.h Bug 1263951 - Avoid trying to initialize new GMP instances once the browser enters shutdown. r=cpearce 2016-04-26 12:11:26 -05:00
GMPSharedMemManager.cpp
GMPSharedMemManager.h
GMPStorageChild.cpp Backed out changeset 4bcb784492bb (bug 1268313) 2016-04-29 14:21:18 +02:00
GMPStorageChild.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPStorageParent.cpp Bug 1236380 - GMPStorage::mShutdown=true until Init() succeeds - r=cpearce 2016-01-07 08:06:47 +11:00
GMPStorageParent.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPTimerChild.cpp
GMPTimerChild.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPTimerParent.cpp Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian 2015-11-15 14:49:01 +01:00
GMPTimerParent.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPTypes.ipdlh
GMPUtils.cpp Bug 1245789 - Parse Chrome CDM manifest in GMPService.addPluginDir. r=gerald 2016-04-12 16:12:21 +12:00
GMPUtils.h Bug 1245789 - Parse Chrome CDM manifest in GMPService.addPluginDir. r=gerald 2016-04-12 16:12:21 +12:00
GMPVideoDecoderChild.cpp Backed out changeset 4bcb784492bb (bug 1268313) 2016-04-29 14:21:18 +02:00
GMPVideoDecoderChild.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPVideoDecoderParent.cpp Bug 1186406 - Log why GMPVideoDecoderParent::Decode() fails. r=gerald 2015-12-01 18:13:52 +13:00
GMPVideoDecoderParent.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPVideoDecoderProxy.h Bug 1237151 (part 1) - Remove ignored qualifiers in dom/media/gmp/. r=cpearce. 2016-01-07 15:43:37 -08:00
GMPVideoEncodedFrameImpl.cpp
GMPVideoEncodedFrameImpl.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPVideoEncoderChild.cpp Backed out changeset 4bcb784492bb (bug 1268313) 2016-04-29 14:21:18 +02:00
GMPVideoEncoderChild.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPVideoEncoderParent.cpp Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian 2015-11-15 14:49:01 +01:00
GMPVideoEncoderParent.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPVideoEncoderProxy.h Bug 1237151 (part 1) - Remove ignored qualifiers in dom/media/gmp/. r=cpearce. 2016-01-07 15:43:37 -08:00
GMPVideoHost.cpp Bug 1224442: null-check GMP Parent Shmem messages from the Child to handle messages after shutdown r=cpearce 2015-11-13 01:08:01 -05:00
GMPVideoHost.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPVideoi420FrameImpl.cpp
GMPVideoi420FrameImpl.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
GMPVideoPlaneImpl.cpp
GMPVideoPlaneImpl.h Bug 1240411: P5. Clean up GMP headers. r=cpearce 2016-01-19 19:47:32 +11:00
moz.build Bug 1245789 - Add Widevine CDM -> GMP adapter. r=gerald 2016-04-12 16:12:20 +12:00
mozIGeckoMediaPluginChromeService.idl
mozIGeckoMediaPluginService.idl Bug 1232527 - Remove GMPVideoDecoderTrialCreator and friends. r=jwwang 2015-12-15 15:17:22 +13:00
PGMP.ipdl Bug 1245789 - Send name of GMPAdapter over to GMP process in StartPlugin message. r=gerald 2016-04-12 16:12:21 +12:00
PGMPAudioDecoder.ipdl Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
PGMPContent.ipdl
PGMPDecryptor.ipdl Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
PGMPService.ipdl Bug 1263951 - Avoid trying to initialize new GMP instances once the browser enters shutdown. r=cpearce 2016-04-26 12:11:26 -05:00
PGMPStorage.ipdl Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
PGMPTimer.ipdl Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
PGMPVideoDecoder.ipdl
PGMPVideoEncoder.ipdl
README.txt

This directory contains code supporting Gecko Media Plugins (GMPs). The GMP API is not the same thing as the Media Plugin API (MPAPI).