| Summary: | [EME] Add a CDMSession for MediaPlayerPrivateMediaSourceAVFObjC | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||||||||||
| Component: | New Bugs | Assignee: | Jer Noble <jer.noble> | ||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||
| Severity: | Normal | CC: | commit-queue, eric.carlson, glenn, philipj, sergio | ||||||||||||
| Priority: | P2 | ||||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Jer Noble
2014-02-21 13:32:32 PST
Created attachment 224901 [details]
Patch
Created attachment 224925 [details]
Patch
Rebaselined
Comment on attachment 224925 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=224925&action=review > Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm:67 > + UNUSED_PARAM(errorCode); > + UNUSED_PARAM(systemCode); Maybe you should set these out params to 0? > Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm:110 > + LOG(Media, "CDMSessionMediaSourceAVFObjC::update(%p) - key data", this); > + RetainPtr<NSData> keyData = adoptNS([[NSData alloc] initWithBytes:key->data() length:key->length()]); > + [m_parent->parser() processContentKeyResponseData:keyData.get() forTrackID:m_parent->protectedTrackID()]; > + return true; Ditto about errorCode and systemCode. Created attachment 224942 [details]
Patch for landing
Created attachment 224944 [details]
Patch for landing
Created attachment 224945 [details]
Patch for landing
Committed r164529: <http://trac.webkit.org/changeset/164529> |