diff options
author | New Tobin Paradigm <email@mattatobin.com> | 2019-11-10 15:35:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-10 15:35:44 -0500 |
commit | b00601953bade944cd6df9cde6fcdd1f10d76feb (patch) | |
tree | 71531773f24b5e2ed5f47d8958cfa7268a169bcf /dom/media/eme/EMEUtils.cpp | |
parent | ccb7e2c646eebbd4742b072f6f02195659fb0d9d (diff) | |
parent | c43b770a0399b5e03a6f6e4d2292e0408b186433 (diff) | |
download | UXP-b00601953bade944cd6df9cde6fcdd1f10d76feb.tar UXP-b00601953bade944cd6df9cde6fcdd1f10d76feb.tar.gz UXP-b00601953bade944cd6df9cde6fcdd1f10d76feb.tar.lz UXP-b00601953bade944cd6df9cde6fcdd1f10d76feb.tar.xz UXP-b00601953bade944cd6df9cde6fcdd1f10d76feb.zip |
Merge pull request #1277 from adeshkp/remove-adobe-primetime
Remove Adobe Primetime support
Diffstat (limited to 'dom/media/eme/EMEUtils.cpp')
-rw-r--r-- | dom/media/eme/EMEUtils.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/dom/media/eme/EMEUtils.cpp b/dom/media/eme/EMEUtils.cpp index c248b3a24..11eb0026e 100644 --- a/dom/media/eme/EMEUtils.cpp +++ b/dom/media/eme/EMEUtils.cpp @@ -54,12 +54,6 @@ IsClearkeyKeySystem(const nsAString& aKeySystem) } bool -IsPrimetimeKeySystem(const nsAString& aKeySystem) -{ - return !CompareUTF8toUTF16(kEMEKeySystemPrimetime, aKeySystem); -} - -bool IsWidevineKeySystem(const nsAString& aKeySystem) { return !CompareUTF8toUTF16(kEMEKeySystemWidevine, aKeySystem); @@ -68,9 +62,6 @@ IsWidevineKeySystem(const nsAString& aKeySystem) nsString KeySystemToGMPName(const nsAString& aKeySystem) { - if (IsPrimetimeKeySystem(aKeySystem)) { - return NS_LITERAL_STRING("gmp-eme-adobe"); - } if (IsClearkeyKeySystem(aKeySystem)) { return NS_LITERAL_STRING("gmp-clearkey"); } @@ -88,8 +79,6 @@ ToCDMTypeTelemetryEnum(const nsString& aKeySystem) return CDMType::eWidevine; } else if (IsClearkeyKeySystem(aKeySystem)) { return CDMType::eClearKey; - } else if (IsPrimetimeKeySystem(aKeySystem)) { - return CDMType::ePrimetime; } return CDMType::eUnknown; } |