Adopt AVStreamDataParser.audiovisualMIMETypes
<rdar://problem/50458981>
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.