mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-28 19:37:32 +09:00
[EME] Make WidevineAdapter compatible with CDM version 9
NOTE: this breaks compatibility with CDM version 8.
This commit is contained in:
parent
a4dd5cc088
commit
eb2e8d7f92
6 changed files with 51 additions and 50 deletions
|
|
@ -48,12 +48,12 @@ class CDMWrapper {
|
|||
public:
|
||||
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(CDMWrapper)
|
||||
|
||||
explicit CDMWrapper(cdm::ContentDecryptionModule_8* aCDM,
|
||||
explicit CDMWrapper(cdm::ContentDecryptionModule_9* aCDM,
|
||||
WidevineDecryptor* aDecryptor);
|
||||
cdm::ContentDecryptionModule_8* GetCDM() const { return mCDM; }
|
||||
cdm::ContentDecryptionModule_9* GetCDM() const { return mCDM; }
|
||||
private:
|
||||
~CDMWrapper();
|
||||
cdm::ContentDecryptionModule_8* mCDM;
|
||||
cdm::ContentDecryptionModule_9* mCDM;
|
||||
RefPtr<WidevineDecryptor> mDecryptor;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue