Implement recommendations from low-level performance study (undocument compress levels 7-9 in the GUI, since they do nothing but increase CPU usage, set the default compress level to 1, and include a note that levels higher than 3 are rarely useful)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4632 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx
index 73ff551..20465b5 100644
--- a/vncviewer/OptionsDialog.cxx
+++ b/vncviewer/OptionsDialog.cxx
@@ -511,7 +511,7 @@
compressionInput = new Fl_Int_Input(tx + INDENT, ty,
INPUT_HEIGHT, INPUT_HEIGHT,
- _("level (1=fast, 9=best)"));
+ _("level (1=fast, 6=best [4-6 are rarely useful])"));
compressionInput->align(FL_ALIGN_RIGHT);
ty += INPUT_HEIGHT + INNER_MARGIN;
diff --git a/vncviewer/parameters.cxx b/vncviewer/parameters.cxx
index c4c8fc7..f88aa5c 100644
--- a/vncviewer/parameters.cxx
+++ b/vncviewer/parameters.cxx
@@ -51,8 +51,8 @@
"Use custom compression level. "
"Default if CompressLevel is specified.", false);
IntParameter compressLevel("CompressLevel",
- "Use specified compression level 0 = Low, 9 = High",
- 6);
+ "Use specified compression level 0 = Low, 6 = High",
+ 1);
BoolParameter noJpeg("NoJPEG",
"Disable lossy JPEG compression in Tight encoding.",
false);