Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TheOneric] Deprecate manual brotli decompression #54

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

dmitrylyzo
Copy link
Collaborator

Pulling from the upstream.
Original author: TheOneric

Non-PRed commit.

@dmitrylyzo dmitrylyzo marked this pull request as ready for review March 22, 2024 08:11
@dmitrylyzo dmitrylyzo added the enhancement New feature or request label Mar 22, 2024
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
@dmitrylyzo dmitrylyzo merged commit bb32b39 into jellyfin:master Mar 22, 2024
1 check passed
@dmitrylyzo dmitrylyzo deleted the deprecate-brotli branch March 22, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants