forked from JustAMan/JavascriptSubtitlesOctopus
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate manual brotli decompression
It doesn't have much benefit but comes with a maintenance cost as we either need to keep patching upstream's js implementation for use in JSO — which also bloats binary size by including two copies of brotli and its default dict — or use the C implemntation from JS which requires boilerplate in both C and JS and also additional JS polyfills to keep e.g. the fontname extraction working. The browser's in-built support for Content-Encoding is more felxible, faster and simpler to use. Cherry-picked from: libass@e459c8e
- Loading branch information
1 parent
f373e10
commit bde0b95
Showing
2 changed files
with
17 additions
and
6 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