diff options
author | trav90 <travawine@protonmail.ch> | 2019-02-08 12:31:48 -0600 |
---|---|---|
committer | trav90 <travawine@protonmail.ch> | 2019-02-08 13:47:17 -0600 |
commit | 34bfc1f409b4cafa65dbc4f3087c349eb1a1dec4 (patch) | |
tree | c4527fe2a698c7b5382f91871119197614359760 /dom/media/gmp/widevine-adapter/WidevineAdapter.cpp | |
parent | 6310310e0ae2acb88b2f83c7fb5abb806fa64dcb (diff) | |
download | UXP-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/WidevineAdapter.cpp')
-rw-r--r-- | dom/media/gmp/widevine-adapter/WidevineAdapter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/media/gmp/widevine-adapter/WidevineAdapter.cpp b/dom/media/gmp/widevine-adapter/WidevineAdapter.cpp index fa703ab0b..57d4ecec2 100644 --- a/dom/media/gmp/widevine-adapter/WidevineAdapter.cpp +++ b/dom/media/gmp/widevine-adapter/WidevineAdapter.cpp @@ -106,8 +106,8 @@ WidevineAdapter::GMPGetAPI(const char* aAPIName, WidevineDecryptor* decryptor = new WidevineDecryptor(); - auto cdm = reinterpret_cast<cdm::ContentDecryptionModule*>( - create(cdm::ContentDecryptionModule::kVersion, + auto cdm = reinterpret_cast<cdm::ContentDecryptionModule_9*>( + create(cdm::ContentDecryptionModule_9::kVersion, kEMEKeySystemWidevine.get(), kEMEKeySystemWidevine.Length(), &GetCdmHost, @@ -161,7 +161,7 @@ WidevineAdapter::Supports(int32_t aModuleVersion, int32_t aHostVersion) { return aModuleVersion == CDM_MODULE_VERSION && - aInterfaceVersion == cdm::ContentDecryptionModule::kVersion && + aInterfaceVersion == cdm::ContentDecryptionModule_9::kVersion && aHostVersion == cdm::Host_9::kVersion; } |