diff options
author | Samuel Mannehed <samuel@cendio.se> | 2019-12-20 16:13:17 +0100 |
---|---|---|
committer | Samuel Mannehed <samuel@cendio.se> | 2019-12-20 16:13:17 +0100 |
commit | 7ccf7faa6bc89f29ca454a47e1e586cb75b51c46 (patch) | |
tree | 9292b7ddf47c508226182178ebd956b2e25118c0 | |
parent | c2184f9bf38ebb5d63a7d12f1638b1018887725d (diff) | |
download | tigervnc-7ccf7faa6bc89f29ca454a47e1e586cb75b51c46.tar.gz tigervnc-7ccf7faa6bc89f29ca454a47e1e586cb75b51c46.zip |
Fix maximum compress lvl in parameter list
Commit 4e61f8dbc51f83b1d71319b763fbd4d916d13e98 fixed the GUI but forgot
to change the other places in the code.
-rw-r--r-- | java/com/tigervnc/vncviewer/Parameters.java | 2 | ||||
-rw-r--r-- | vncviewer/parameters.cxx | 2 | ||||
-rw-r--r-- | vncviewer/vncviewer.man | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/java/com/tigervnc/vncviewer/Parameters.java b/java/com/tigervnc/vncviewer/Parameters.java index 88d68e14..7be37789 100644 --- a/java/com/tigervnc/vncviewer/Parameters.java +++ b/java/com/tigervnc/vncviewer/Parameters.java @@ -262,7 +262,7 @@ public class Parameters { public static IntParameter compressLevel = new IntParameter("CompressLevel", - "Use specified compression level. 0 = Low, 6 = High", + "Use specified compression level. 0 = Low, 9 = High", 1); public static BoolParameter noJpeg diff --git a/vncviewer/parameters.cxx b/vncviewer/parameters.cxx index f0121e3e..0cf5436e 100644 --- a/vncviewer/parameters.cxx +++ b/vncviewer/parameters.cxx @@ -85,7 +85,7 @@ BoolParameter customCompressLevel("CustomCompressLevel", "Use custom compression level. " "Default if CompressLevel is specified.", false); IntParameter compressLevel("CompressLevel", - "Use specified compression level 0 = Low, 6 = High", + "Use specified compression level 0 = Low, 9 = High", 2); BoolParameter noJpeg("NoJPEG", "Disable lossy JPEG compression in Tight encoding.", diff --git a/vncviewer/vncviewer.man b/vncviewer/vncviewer.man index f93e096a..5b49f9bd 100644 --- a/vncviewer/vncviewer.man +++ b/vncviewer/vncviewer.man @@ -259,7 +259,7 @@ JPEG quality level. 0 = Low, 9 = High. May be adjusted automatically if . .TP .B \-CompressLevel \fIlevel\fP -Use specified lossless compression level. 0 = Low, 6 = High. Default is 2. +Use specified lossless compression level. 0 = Low, 9 = High. Default is 2. . .TP .B \-CustomCompressLevel |