-
Notifications
You must be signed in to change notification settings - Fork 103
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
Drop custom brotli decompression #151
Comments
I believe I have a patch ready for this, but it involves bringing along custom TextDecoder polyfill (which is what brotli.js did on their own). |
Great! Needing one more polyfill for old engines seems unproblematic. considering we basically already have this and a license-compatible polyfill is available. |
@WeebDataHoarder: Looking at the wip(?) commit you pushed to the “lazy font” PR, there's a comment about “future emscripten versions” adding the required polyfill on their own. Did you notice emscripten was updated to 3.1.15 (back then the most recent version, now it’s 3.1.17) before this issue was opened or is this about intended/post-3.1.15 emscripten changes? |
This was an update done mainly on my side to see how the new versions behaved, haven't checked recent updates lately.
------- Original Message -------
…On Friday, July 29th, 2022 at 11:23 PM, TheOneric ***@***.***> wrote:
***@***.***(https://github.com/WeebDataHoarder): Looking at the wip(?) commit you pushed to the “lazy font” PR, there's a not about “future emscripten versions” adding the required polyfill on their own. Did you notice emscripten was updated to 3.1.15 (back then the most recent version, now it’s 3.1.17) before this issue was opened or is this about intended/post-3.1.15 emscripten changes?
—
Reply to this email directly, [view it on GitHub](#151 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/ANW7SGI4J3ROUB3ADMLL2DTVWRDTRANCNFSM53FFY3XA).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
fyi, I just tested master + 128be61 + WeebDataHoarder@35a9216 and the same issue as before still persists. It appears |
I tentatively deprecated in-house brotli decompression in e459c8e recommending transparent (de)compression via |
After the release, manual decompression was now dropped in c975a29. For those who came here in search what to use instead, here’s the relevant bit from 4.1.0’s README: Brotli Compressed Subtitles (DEPRECATED)Manual support for brotli-compressed subtitles is tentatively deprecated Instead use HTTP's |
While 128be61 didn't affect the “Brotli Compressed Subtitles” test, as it turns out it causes issues with more complex brotli-compressed subs like the Railgun S or SnK openings. The former only renders the first karaoke line and nothing afterwards, the latter only shows the colour blobs of the first karaoke line and nothing else. Sorry for not noticing earlier. As a – hopefully temporary – hotfix I reverted the change.
@WeebDataHoarder: do you want to look into this and try to find a fix so it can be reapplied?
The text was updated successfully, but these errors were encountered: