From: Samuel Mannehed Date: Fri, 20 Dec 2019 15:13:17 +0000 (+0100) Subject: Fix maximum compress lvl in parameter list X-Git-Tag: v1.10.90~71 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7ccf7faa6bc89f29ca454a47e1e586cb75b51c46;p=tigervnc.git Fix maximum compress lvl in parameter list Commit 4e61f8dbc51f83b1d71319b763fbd4d916d13e98 fixed the GUI but forgot to change the other places in the code. --- 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