RESOLVED FIXED197581
Adopt AVStreamDataParser.audiovisualMIMETypes
https://bugs.webkit.org/show_bug.cgi?id=197581
Summary Adopt AVStreamDataParser.audiovisualMIMETypes
Jer Noble
Reported 2019-05-03 15:12:33 PDT
Adopt AVStreamDataParser.audiovisualMIMETypes
Attachments
Patch (41.32 KB, patch)
2019-05-03 15:31 PDT, Jer Noble
no flags
Patch for landing (47.36 KB, patch)
2019-05-06 11:08 PDT, Jer Noble
no flags
Patch for landing (47.42 KB, patch)
2019-05-06 12:36 PDT, Jer Noble
no flags
Radar WebKit Bug Importer
Comment 1 2019-05-03 15:12:58 PDT
Jer Noble
Comment 2 2019-05-03 15:31:03 PDT
Eric Carlson
Comment 3 2019-05-03 16:11:43 PDT
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?
Jer Noble
Comment 4 2019-05-06 10:34:13 PDT
(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!
Jer Noble
Comment 5 2019-05-06 11:08:48 PDT
Created attachment 369142 [details] Patch for landing
Jer Noble
Comment 6 2019-05-06 12:36:24 PDT
Created attachment 369157 [details] Patch for landing
WebKit Commit Bot
Comment 7 2019-05-06 15:22:32 PDT
Comment on attachment 369157 [details] Patch for landing Clearing flags on attachment: 369157 Committed r244980: <https://trac.webkit.org/changeset/244980>
WebKit Commit Bot
Comment 8 2019-05-06 15:22:33 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.