mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 10:27:32 +09:00
[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.
This commit is contained in:
parent
a8d231e0a9
commit
58116c6950
4 changed files with 193 additions and 103 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue