diff options
author | Manuel Stoeckl <code@mstoeckl.com> | 2022-08-07 13:00:21 -0400 |
---|---|---|
committer | Manuel Stoeckl <code@mstoeckl.com> | 2022-08-07 13:00:23 -0400 |
commit | fc7fe93a299fa9fe9b1b01c044113e0fb53fa700 (patch) | |
tree | e98d5e48eb16dfbdb497f3c0d761b427eefab7a5 | |
parent | 87788dd6c511723459ab3b1db8a4491ff8e0dc2c (diff) |
Delay switch to default LZ4 compression again
-rw-r--r-- | src/waypipe.c | 6 | ||||
-rw-r--r-- | waypipe.scd | 5 |
2 files changed, 3 insertions, 8 deletions
diff --git a/src/waypipe.c b/src/waypipe.c index 65526f6..adbe048 100644 --- a/src/waypipe.c +++ b/src/waypipe.c @@ -466,11 +466,7 @@ int main(int argc, char **argv) struct main_config config = {.n_worker_threads = 0, .drm_node = NULL, -#ifdef HAS_LZ4 - .compression = COMP_LZ4, -#else .compression = COMP_NONE, -#endif .compression_level = 0, .no_gpu = false, .only_linear_dmabuf = true, @@ -937,7 +933,7 @@ int main(int argc, char **argv) } /* Always send the compression flag, because the default - * was changed from NONE to LZ4. */ + * will be changed from NONE to LZ4. */ arglist[dstidx + 1 + offset++] = "-c"; if (!comp_string) { switch (config.compression) { diff --git a/waypipe.scd b/waypipe.scd index 4f5df5f..bb9d60b 100644 --- a/waypipe.scd +++ b/waypipe.scd @@ -55,12 +55,11 @@ compressible as images containing pictures. *-c C, --compress C* Select the compression method applied to data transfers. Options are _none_ (for high-bandwidth networks), _lz4_ (intermediate), _zstd_ - (slow connection). The default compression is _lz4_.† The compression + (slow connection). The default compression is _none_.† The compression level can be chosen by appending = followed by a number. For example, if *C* is _zstd=7_, waypipe will use level 7 Zstd compression. - † Unless *waypipe* is built without LZ4 support, in which case the default - compression will be _none_. + † In a future version, the default will change to _lz4_. *-d, --debug* Print debug log messages. |