-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correct bitrate calculation for user-uploaded content
Calculate bitrate from decoder parameters instead of file size to avoid inflated values from ID3 tags and album art in user-uploaded MP3s. Cap bitrates to codec maximums (320 kbps for MP3, 1411 for FLAC, etc).
- Loading branch information
1 parent
c83b6eb
commit 901d6ee
Showing
2 changed files
with
65 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters