[wmfme] handle MSPR_E_NO_DECRYPTOR_AVAILABLE
Categories
(Core :: Audio/Video: Playback, task, P2)
Tracking
()
People
(Reporter: alwu, Assigned: alwu)
References
Details
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details | Review |
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.
| Assignee | ||
Comment 1•7 months ago
|
||
Although HWDRM can be utilized on multiple platforms, its current implementation
is exclusive to Windows. This change relocates the associated code to
gfxWindowsPlatform.
| Assignee | ||
Comment 2•7 months ago
|
||
Comment 4•7 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d8d9240523e0
https://hg.mozilla.org/mozilla-central/rev/6c1101612bce
| Assignee | ||
Comment 5•7 months ago
•
|
||
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
Comment 6•7 months ago
|
||
:alwu also want to make sure this is only uplifting part 1
Comment 8•7 months ago
|
||
Comment on attachment 9501630 [details]
Bug 1977668 - part1 : refactor HWDRM configuration to gfxWindowsPlatform.
Approved for 142.0b4
Updated•7 months ago
|
Updated•7 months ago
|
Description
•