mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
Bug 1173225 - Add pref to control whether we trial create a GMPVideoDecoder. r=edwin
This commit is contained in:
parent
dbca0c72ec
commit
477384f63e
@ -60,6 +60,10 @@ TrialCreatePrefName(const nsAString& aKeySystem)
|
||||
GMPVideoDecoderTrialCreator::TrialCreateState
|
||||
GMPVideoDecoderTrialCreator::GetCreateTrialState(const nsAString& aKeySystem)
|
||||
{
|
||||
if (Preferences::GetBool("media.gmp.always-trial-create", false)) {
|
||||
return Pending;
|
||||
}
|
||||
|
||||
const char* pref = TrialCreatePrefName(aKeySystem);
|
||||
if (!pref) {
|
||||
return Pending;
|
||||
|
Loading…
Reference in New Issue
Block a user