Closed Bug 1047205 Opened 10 years ago Closed 10 years ago

[EME] Attach crypto info to encoded GMP video frames

Categories

(Core :: Audio/Video, defect)

29 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: cpearce, Assigned: cpearce)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We need the decryption information that accompanies encoded GMP video frames to be implemented, so that GMPs can decrypt video frames.
Attached patch PatchSplinter Review
Initialize GMPEncryptedBufferDataImpl from the output of our demuxer, and ensure that GMPVideoEncodedFrame can store a GMPEncryptedBufferDataImpl.
Attachment #8465956 - Flags: review?(rjesup)
Comment on attachment 8465956 [details] [diff] [review] Patch Review of attachment 8465956 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/media/gmp/GMPVideoEncodedFrameImpl.cpp @@ +106,5 @@ > aFrameData.mBuffer() = mBuffer; > aFrameData.mBufferType() = mBufferType; > + if (mCrypto) { > + mCrypto->RelinquishData(aFrameData.mDecryptionData()); > + } spaces
Attachment #8465956 - Flags: review?(rjesup) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: