Summary: | Adopt AVStreamDataParser.audiovisualMIMETypes | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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, webkit-bug-importer | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Jer Noble
2019-05-03 15:12:33 PDT
Created attachment 369005 [details]
Patch
Comment on attachment 369005 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=369005&action=review > Source/WebCore/platform/graphics/avfoundation/objc/AVStreamDataParserMIMETypeCache.mm:77 > + // AVStreamDataParser does not have an -isPlayableExtendedMIMEType: method, so just replace the container type > + // with a valid one from AVAssetMIMETypeCache and ask that cache if it can decode this type: You should add a FIXME to remove this once they implement -isPlayableExtendedMIMEType > Source/WebCore/platform/graphics/avfoundation/objc/AVStreamDataParserMIMETypeCache.mm:81 > + ContentType originalType { mimeType }; Can't you just reuse "type" defined above? (In reply to Eric Carlson from comment #3) > Comment on attachment 369005 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=369005&action=review > > > Source/WebCore/platform/graphics/avfoundation/objc/AVStreamDataParserMIMETypeCache.mm:77 > > + // AVStreamDataParser does not have an -isPlayableExtendedMIMEType: method, so just replace the container type > > + // with a valid one from AVAssetMIMETypeCache and ask that cache if it can decode this type: > > You should add a FIXME to remove this once they implement > -isPlayableExtendedMIMEType Will do. > > Source/WebCore/platform/graphics/avfoundation/objc/AVStreamDataParserMIMETypeCache.mm:81 > > + ContentType originalType { mimeType }; > > Can't you just reuse "type" defined above? Yep! Created attachment 369142 [details]
Patch for landing
Created attachment 369157 [details]
Patch for landing
Comment on attachment 369157 [details] Patch for landing Clearing flags on attachment: 369157 Committed r244980: <https://trac.webkit.org/changeset/244980> All reviewed patches have been landed. Closing bug. |