Arcus92 / libpgs-js

Renderer for graphical subtitles (PGS) in the browser.
MIT License
4 stars 0 forks source link

Error handling #11

Open Arcus92 opened 1 month ago

Arcus92 commented 1 month ago

This PR adds error handing to the internal worker renderer. If there are any parsing errors when reading the subtitle stream, the renderer should not crash and continue to work. At least with the currently obtained data.

This catches: