From 4437512f05f68056e87e8e9b16808ae856f93840 Mon Sep 17 00:00:00 2001 From: Marko Durkovic Date: Fri, 23 Sep 2022 12:19:08 +0200 Subject: [PATCH] Change lz4 compression level to 0 --- src/rosbags/rosbag1/writer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rosbags/rosbag1/writer.py b/src/rosbags/rosbag1/writer.py index d1ba14ed..965e31aa 100644 --- a/src/rosbags/rosbag1/writer.py +++ b/src/rosbags/rosbag1/writer.py @@ -183,7 +183,7 @@ class Writer: self.compression_format = fmt.name.lower() bz2: Callable[[bytes], bytes] = lambda x: bz2_compress(x, 9) - lz4: Callable[[bytes], bytes] = lambda x: lz4_compress(x, 16) # type: ignore + lz4: Callable[[bytes], bytes] = lambda x: lz4_compress(x, 0) # type: ignore self.compressor = { 'bz2': bz2, 'lz4': lz4,