Skip to content

fix: prefer common extensions aac over adts, mov over qt (#142, #139) - #212

Open
marceli1404 wants to merge 1 commit into
jshttp:masterfrom
marceli1404:fix/extension-priority
Open

fix: prefer common extensions aac over adts, mov over qt (#142, #139)#212
marceli1404 wants to merge 1 commit into
jshttp:masterfrom
marceli1404:fix/extension-priority

Conversation

@marceli1404

Copy link
Copy Markdown

Fixes #142 and #139 by reordering extensions arrays after loading mime-db data.

  • audio/aac: moved \�ac\ before \�dts\ so \�ac\ is the preferred extension
  • video/quicktime: moved \mov\ before \qt\ so \mov\ is the preferred extension

The mime-db data has these extensions, but in suboptimal order. This patch reorders them after loading from mime-db but before populating the extension maps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MIME type audio/aac prefers extension adts over aac

1 participant