зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1707559 - Stub out QueryOutputProtectionStatus. r=jbauman
Differential Revision: https://phabricator.services.mozilla.com/D113361
This commit is contained in:
Родитель
5bd4ee0a35
Коммит
15e028a5fa
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче