v1.27.5

Vanilagy/mediabunnyv1.27.5Jan 12, 2026by Vanilagy

AI Summary

Stability improvements regarding conversion cancellation and robustness of Matroska parsing.

Key Highlights

  • `Conversion.cancel()` now throws on pending executions instead of hanging
  • Fixed Matroska demuxer errors regarding duration, timestamps, junk data, and disabled tracks
  • Fixed resource cleanup issues after `Output.finalize`

Breaking Changes

  • `Conversion.cancel()` behavior changed to throw instead of never resolving

Full Release Notes

- Calling `Conversion.cancel()` now causes existing calls to `execute()` to throw instead of to never resolve (#271)
- Fixed ocasional sample GC errors when canceling a conversion (#272)
- Matroska demuxer doesn't throw anymore when `DefaultDuration` and `TimestampScale` appear in the wrong order (#273)
- Fixed Matroska demuxer throwing when junk was at the end of the file (#274)
- Fixed calling `close` on a media source after `Output.finalize` throwing an internal error (#270)
- Fixed disabled tracks crashing the Matroska demuxer (#276)