summaryrefslogtreecommitdiffstats
path: root/dom/media/gmp/widevine-adapter/WidevineUtils.cpp
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2019-02-08 12:31:48 -0600
committertrav90 <travawine@protonmail.ch>2019-02-08 13:47:17 -0600
commit34bfc1f409b4cafa65dbc4f3087c349eb1a1dec4 (patch)
treec4527fe2a698c7b5382f91871119197614359760 /dom/media/gmp/widevine-adapter/WidevineUtils.cpp
parent6310310e0ae2acb88b2f83c7fb5abb806fa64dcb (diff)
downloadUXP-34bfc1f409b4cafa65dbc4f3087c349eb1a1dec4.tar
UXP-34bfc1f409b4cafa65dbc4f3087c349eb1a1dec4.tar.gz
UXP-34bfc1f409b4cafa65dbc4f3087c349eb1a1dec4.tar.lz
UXP-34bfc1f409b4cafa65dbc4f3087c349eb1a1dec4.tar.xz
UXP-34bfc1f409b4cafa65dbc4f3087c349eb1a1dec4.zip
[EME] Update content_decryption_module.h to more recent revision
Adds support for cdm::ContentDecryptionModule_9 and cdm::Host_9 definitions, HDCP definitions, and 10 and 12 bit image format definitions.
Diffstat (limited to 'dom/media/gmp/widevine-adapter/WidevineUtils.cpp')
-rw-r--r--dom/media/gmp/widevine-adapter/WidevineUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/gmp/widevine-adapter/WidevineUtils.cpp b/dom/media/gmp/widevine-adapter/WidevineUtils.cpp
index deb71e51a..10c6c2e18 100644
--- a/dom/media/gmp/widevine-adapter/WidevineUtils.cpp
+++ b/dom/media/gmp/widevine-adapter/WidevineUtils.cpp
@@ -43,7 +43,7 @@ ToGMPErr(cdm::Status aStatus)
case cdm::kSuccess: return GMPNoErr;
case cdm::kNeedMoreData: return GMPGenericErr;
case cdm::kNoKey: return GMPNoKeyErr;
- case cdm::kSessionError: return GMPGenericErr;
+ case cdm::kInitializationError: return GMPGenericErr;
case cdm::kDecryptError: return GMPCryptoErr;
case cdm::kDecodeError: return GMPDecodeErr;
case cdm::kDeferredInitialization: return GMPGenericErr;