Closed Bug 1815553 Opened 3 years ago Closed 3 years ago

[wmfme] Check EME option when enabling Media Foundation CDM

Categories

(Core :: Audio/Video: Playback, defect)

Unspecified
Windows 10
defect

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: jhlin, Assigned: jhlin)

References

Details

Attachments

(2 files)

In bug 1810817, mfcdm is enabled even when EME is not, and it causes build failures.

Blocks: 1815546
Attachment #9316457 - Attachment description: WIP: Bug 1815553 - don't enable Media Foundation CDM when EME is not. → Bug 1815553 - don't enable Media Foundation CDM when EME is not.

It also might be nice to fix it so that attempting to override the disable results in a configure failure saying that enabling mf-cdm with eme disabled is invalid. Otherwise you just end up with the failure linking xul.dll with an undefined refernece which give you no clue as to how to fix.

Attachment #9316457 - Attachment description: Bug 1815553 - don't enable Media Foundation CDM when EME is not. → Bug 1815553 - move Media Foundation CDM option into EME support configurations.
Pushed by jolin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b2cfe3ce1eb1 follow the naming convention of existing code (mf -> wmf). r=alwu https://hg.mozilla.org/integration/autoland/rev/789d292e1b47 move Media Foundation CDM option into EME support configurations. r=alwu,firefox-build-system-reviewers,ahochheiden
Pushed by jolin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a3b9784c27fb follow the naming convention of existing code (mf -> wmf). r=alwu

As the new try failures requires more time to fix and we wanted to fix other thunderbird bustage first, we land one of the patch and other patch from bug1816060. We still need to land another patch in order to fix the error completely (right now they use the workaround from bug 1815546) So keep this bug open until we land both patches.

Keywords: leave-open

Just a thought here but Should not this line :
option("--disable-wmf-cdm", help="Disable support for Media Foundation CDM")
be changed to:
option("--disable-wmf-cdm", help="Disable support for Windows Media Foundation CDM")
?

Pushed by jolin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fc697f7862c5 move Media Foundation CDM option into EME support configurations. r=alwu,firefox-build-system-reviewers,ahochheiden

Closing this bug for all patches were landed.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(jolin)
Keywords: leave-open
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: