Skip to content

releases/mcap-cli/v0.0.31

Compare
Choose a tag to compare
@github-actions github-actions released this 15 May 21:31
· 229 commits to main since this release
f5ebb96
Fix mcap conversion for bzip2 bags (#890)

* Fix mcap conversion for bzip2 bags

Prior to this commit, the bzip2 decompression was broken on bags with
more than one chunk. The chunk reader was getting set to a basic reader
on the underlying chunk data, rather than a bz2 decompressor (on chunks
after the first).

This fixes that and also does a minor refactor to remove the concept of
a resettable reader. This was only applicable to the lz4 decompressor
previously (out of three - lz4, none, and bz2) and existed to fake
generic support for resetting readers when underlying readers didn't
support that. Rather than doing that, special case lz4 and use the other
two reader types directly.

* Add test with chunked bz2 bag