Closed Bug 1721867 Opened 4 years ago Closed 4 years ago

Remove the concept of a decryptor id from the GMP

Categories

(Core :: Audio/Video: GMP, task, P1)

task

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: bryce, Assigned: bryce)

References

Details

Attachments

(1 file)

Bug 1306314 introduced the idea of a decryptor id. It looks like this was done to handle issues with Widevine persistent storage.

Over time the code has changed such that we no longer use the decryptor id (looks like bug 1392506 and friends did at least some of this). However, decryptor id is still plumbed. We should remove it.

Further details:

  • The current source of decryptor ids appears to be in GMPVideoDecoder code, which always returns 0. I.e. we don't seem to generate different ids, I assume because we don't use them anywhere anymore.
  • Following the current plumbing to its end gets me to ChromiumCDMAdapter::GMPGetAPI, which just logs the id. I.e. it's not used in a meaningful way.

Decryptor id is no longer used anywhere functional, but we still have code
referencing and plumbing values around. This patch removes all the remaining
usage I can find in Gecko.

Pushed by bvandyk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/762c7aeeb496 Remove the concept of decryptor id from the GMP. r=alwu,jolin
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: