Closed
Bug 1041384
Opened 11 years ago
Closed 11 years ago
Update GMP APIs for decrypt without decoding and reporting capabilities
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: cpearce, Assigned: cpearce)
References
Details
Attachments
(1 file)
18.82 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
I need to update the GMP APIs to support:
* Decrypting buffers without decoding them.
* Signalling to the Gecko parent process whether to use the GMP/CDM in decrypt or decrypt-and-decode mode.
* Remove the "On" prefix in some of my GMP*Callback objects, since the other GMP*Callback objects don't use that convention. This makes the naming convention of the APIs consistent.
My aim is to land the above changes on m-c shortly after the next uplift, i.e. when m-c becomes Fx34.
After the above changes, I'll still need to add an Output Protection interface to GMP API. I'm not sure if that will be in Gecko 34 or Gecko 35.
Comment 2•11 years ago
|
||
Comment on attachment 8459384 [details] [diff] [review]
Patch
Review of attachment 8459384 [details] [diff] [review]:
-----------------------------------------------------------------
::: content/media/gmp/gmp-api/gmp-decryption.h
@@ +32,5 @@
>
> // Size (in bytes) of |IV|.
> virtual uint32_t IVSize() const = 0;
>
> + // Number of enties returned by ClearBytes() and CipherBytes().
entries
::: content/media/gmp/gmp-api/gmp-storage.h
@@ +39,3 @@
> virtual GMPErr Read() = 0;
>
> + // Writes aDataSize bytes of aData into the record, overwritting the
overwriting
Just proving I'm really reading it....
Attachment #8459384 -
Flags: review?(rjesup) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Updated•11 years ago
|
QA Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•