Summary: | Workaround iTunes' incorrect registry entry for .m4a extensions. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||
Component: | Media | Assignee: | Jer Noble <jer.noble> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue | ||||
Priority: | P2 | Keywords: | InRadar, PlatformOnly | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | Windows 7 | ||||||
Attachments: |
|
Description
Jer Noble
2011-05-04 16:28:57 PDT
Work around this by adding a hard coded entry to the MIME type map of ".m4a"->"audio/x-m4a". Created attachment 92346 [details]
Patch
Comment on attachment 92346 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=92346&action=review > Source/WebCore/platform/win/MIMETypeRegistryWin.cpp:100 > mimetypeMap.add("wmlc", "application/vnd.wap.wmlc"); > + mimetypeMap.add("m4a", "audio/x-m4a"); I think the existing list is sorted in alphabetical order by extension. (In reply to comment #4) > (From update of attachment 92346 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=92346&action=review > > > Source/WebCore/platform/win/MIMETypeRegistryWin.cpp:100 > > mimetypeMap.add("wmlc", "application/vnd.wap.wmlc"); > > + mimetypeMap.add("m4a", "audio/x-m4a"); > > I think the existing list is sorted in alphabetical order by extension. It looks like it's sorted in willy-nilly order. Would you like it to be sorted in alphabetical order? Comment on attachment 92346 [details]
Patch
Adding cq+.
Comment on attachment 92346 [details] Patch Clearing flags on attachment: 92346 Committed r85886: <http://trac.webkit.org/changeset/85886> All reviewed patches have been landed. Closing bug. |