зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1173225 - Add pref to control whether we trial create a GMPVideoDecoder. r=edwin
This commit is contained in:
Родитель
dbca0c72ec
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче