Closed Bug 1654397 Opened 5 years ago Closed 5 years ago

ChromiumCDMVideoDecoder should populate the encryption scheme on config

Categories

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

defect

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: bryce, Assigned: bryce)

References

Details

Attachments

(1 file)

ChromiumCDMVideoDecoder sets up data to init the CDM[0]. Historically this didn't include a crypto scheme as the cenc scheme was assumed. However, with CDM interface 10 we can pass a scheme as part of the init config, but are not doing so.

Not having this data doesn't seem to have caused issue so far. I appear to have overlooked populating it here when the CDM added the structures for it. However, we should populate such data now that the CDM lets us. Especially since debugging the CDM can be so opaque.

[0] https://searchfox.org/mozilla-central/rev/3b6958c26049c1e27b2790a43154caaba9f6dd4a/dom/media/platforms/agnostic/eme/ChromiumCDMVideoDecoder.cpp#74

Pushed by bvandyk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2969f3de028f Set crypto scheme when initializing video decoder CDM. r=alwu
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: