Update CDM headers to ones supporting AV1
Categories
(Core :: Audio/Video: Playback, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: bryce, Assigned: bryce)
References
Details
Attachments
(2 files)
We need to update the CDM headers used by Widevine in order to support encrypted av1 as the new headers contain enums we need.
This involves pulling the files from the Chromium repo. The following 4 files should be updated:
- content_decryption_module.h
- decryption_module_export.h
- content_decryption_module_ext.h
- content_decryption_module_proxy.h
Note: doing so will remove support for CDM interface 9. Bug 1623661 tracks removing our usage of that interface so we can update the headers.
See bug 1487811 for the last time the headers were bumped.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Headers are pulled from Chromium revision
bc262e26cd2dca812f05bdad3b37398839e63007.
Assignee | ||
Comment 2•4 years ago
|
||
The CDM header bump has moved some enums, as well as using enum classes instead
of old style enums. This patch updates consumers of these enums to be compatible
with the new headers.
Drive by remove using namespace cdm
from a couple of files as
- In some places I'd already been using fully qualified names.
- I prefer the fully qualified names as they make it clear when enums are coming
from the cdm namespace andcdm::
is not a particularly more verbose thing to
have on identifiers.
Assignee | ||
Comment 3•4 years ago
|
||
The first patch here is a straight import of source from Chromium. We've historically preferred this approach as it makes it easier to diff (we don't format per bug 1486502). This will undo the changes from bug 1613985. :sg, is this a concern?
Comment 4•4 years ago
|
||
No, that's fine. I probably wasn't aware that these were external files. I am not completely sure since I did some manual work after applying the clang-tidy changes, but I assume that these were suggested by clang-tidy. In that case, they should be excluded from clang-tidy analysis. Sylvestre, WDYT?
Comment 5•4 years ago
|
||
They should be ignored if listed in https://searchfox.org/mozilla-central/source/tools/rewriting/ThirdPartyPaths.txt
what is the path which has been reformatted?
Assignee | ||
Comment 7•4 years ago
|
||
I'm going to land the existing changes. Please NI me if there's anything more needed to stop these being tidied and I will create a follow up bug.
Comment 8•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fa57f4290efb
https://hg.mozilla.org/mozilla-central/rev/e186dc84781f
Description
•