Commit 4497144d authored by Bryce Seager van Dyk's avatar Bryce Seager van Dyk
Browse files

Bug 1707559 - Stub out QueryOutputProtectionStatus. r=jbauman a=RyanVM

Differential Revision: https://phabricator.services.mozilla.com/D113361
parent 222ab561
......@@ -318,6 +318,14 @@ void ChromiumCDMChild::OnSessionClosed(const char* aSessionId,
nsCString(aSessionId, aSessionIdSize));
}
void ChromiumCDMChild::QueryOutputProtectionStatus() {
GMP_LOG_DEBUG("ChromiumCDMChild::QueryOutputProtectionStatus()");
if (mCDM) {
mCDM->OnQueryOutputProtectionStatus(cdm::kQuerySucceeded, uint32_t{},
uint32_t{});
}
}
void ChromiumCDMChild::OnInitialized(bool aSuccess) {
MOZ_ASSERT(!mInitPromise.IsEmpty(),
"mInitPromise should exist during init callback!");
......
......@@ -55,7 +55,7 @@ class ChromiumCDMChild : public PChromiumCDMChild, public cdm::Host_10 {
const char* aChallenge,
uint32_t aChallengeSize) override {}
void EnableOutputProtection(uint32_t aDesiredProtectionMask) override {}
void QueryOutputProtectionStatus() override {}
void QueryOutputProtectionStatus() override;
void OnDeferredInitializationDone(cdm::StreamType aStreamType,
cdm::Status aDecoderStatus) override {}
void RequestStorageId(uint32_t aVersion) override;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment