diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-18 08:12:19 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-18 08:12:19 +0100 |
commit | c7c3c8600febd196152e5b23f687cbe8aa493627 (patch) | |
tree | a0a4cdee6d626fb3a983daf113f3b171c9143929 /dom/media/gmp/widevine-adapter/WidevineUtils.cpp | |
parent | d791dfed61bbc963351e5965657a3b13d4e6dceb (diff) | |
parent | e9261d329b443e588de408ff85917ac29d4ab62d (diff) | |
download | UXP-c7c3c8600febd196152e5b23f687cbe8aa493627.tar UXP-c7c3c8600febd196152e5b23f687cbe8aa493627.tar.gz UXP-c7c3c8600febd196152e5b23f687cbe8aa493627.tar.lz UXP-c7c3c8600febd196152e5b23f687cbe8aa493627.tar.xz UXP-c7c3c8600febd196152e5b23f687cbe8aa493627.zip |
Merge branch 'cdm-work'
Diffstat (limited to 'dom/media/gmp/widevine-adapter/WidevineUtils.cpp')
-rw-r--r-- | dom/media/gmp/widevine-adapter/WidevineUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/media/gmp/widevine-adapter/WidevineUtils.cpp b/dom/media/gmp/widevine-adapter/WidevineUtils.cpp index 925dfe1a1..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; @@ -77,7 +77,7 @@ void InitInputBuffer(const GMPEncryptedBufferMetadata* aCrypto, aInputBuffer.timestamp = aTimestamp; } -CDMWrapper::CDMWrapper(cdm::ContentDecryptionModule_8* aCDM, +CDMWrapper::CDMWrapper(cdm::ContentDecryptionModule_9* aCDM, WidevineDecryptor* aDecryptor) : mCDM(aCDM) , mDecryptor(aDecryptor) |