Closed Bug 1977668 Opened 7 months ago Closed 7 months ago

[wmfme] handle MSPR_E_NO_DECRYPTOR_AVAILABLE

Categories

(Core :: Audio/Video: Playback, task, P2)

task

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox142 --- fixed
firefox143 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

Details

Attachments

(2 files)

I suspect that IsTypeSupportedEx() is not returning the correct result regarding hardware decryption support. As a result, users may encounter the MSPR_E_NO_DECRYPTOR_AVAILABLE error later at runtime.

We should detect the error and disable hardware decryption on that device for the specific codec that triggered it.

Depends on: 1785927

Although HWDRM can be utilized on multiple platforms, its current implementation
is exclusive to Windows. This change relocates the associated code to
gfxWindowsPlatform.

Pushed by alwu@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/db930678b4dd https://hg.mozilla.org/integration/autoland/rev/d8d9240523e0 part1 : refactor HWDRM configuration to gfxWindowsPlatform. r=aosmond https://github.com/mozilla-firefox/firefox/commit/96c3f27979b5 https://hg.mozilla.org/integration/autoland/rev/6c1101612bce part2 : disable HWDRM when receiving the error MSPR_E_NO_DECRYPTOR_AVAILABLE. r=gerard-majax,aosmond
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch

Comment on attachment 9501630 [details]
Bug 1977668 - part1 : refactor HWDRM configuration to gfxWindowsPlatform.

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: This results in DRM playback failing when using PlayReady.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: all patches in this bug
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This simply handles the error properly by disabling HWDRM for affected users — it doesn’t introduce any new functionality or features.
  • String changes made/needed:
  • Is Android affected?: No
Attachment #9501630 - Flags: approval-mozilla-beta?

:alwu also want to make sure this is only uplifting part 1

Flags: needinfo?(alwu)

All patches, thanks.

Flags: needinfo?(alwu)

Comment on attachment 9501630 [details]
Bug 1977668 - part1 : refactor HWDRM configuration to gfxWindowsPlatform.

Approved for 142.0b4

Attachment #9501630 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9501631 - Flags: approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: