aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/rfb/ConnParams.cxx2
-rw-r--r--common/rfb/TightEncoder.cxx3
-rw-r--r--vncviewer/parameters.cxx2
3 files changed, 4 insertions, 3 deletions
diff --git a/common/rfb/ConnParams.cxx b/common/rfb/ConnParams.cxx
index 2f0e275e..ed747523 100644
--- a/common/rfb/ConnParams.cxx
+++ b/common/rfb/ConnParams.cxx
@@ -35,7 +35,7 @@ ConnParams::ConnParams()
supportsDesktopRename(false), supportsLastRect(false),
supportsSetDesktopSize(false), supportsFence(false),
supportsContinuousUpdates(false),
- customCompressLevel(false), compressLevel(6),
+ customCompressLevel(false), compressLevel(2),
noJpeg(false), qualityLevel(-1), fineQualityLevel(-1),
subsampling(SUBSAMP_UNDEFINED),
name_(0), nEncodings_(0), encodings_(0),
diff --git a/common/rfb/TightEncoder.cxx b/common/rfb/TightEncoder.cxx
index 1b37c8ad..9be4581e 100644
--- a/common/rfb/TightEncoder.cxx
+++ b/common/rfb/TightEncoder.cxx
@@ -74,7 +74,8 @@ const TIGHT_CONF TightEncoder::conf[10] = {
{ 65536, 2048, 24, 9, 9, 7, 64, 96, 92, SUBSAMP_NONE }, // 8
{ 65536, 2048, 32, 9, 9, 9, 96, 96,100, SUBSAMP_NONE } // 9
};
-const int TightEncoder::defaultCompressLevel = 1;
+
+const int TightEncoder::defaultCompressLevel = 2;
//
// Including BPP-dependent implementation of the encoder.
diff --git a/vncviewer/parameters.cxx b/vncviewer/parameters.cxx
index 99b224e6..e8314787 100644
--- a/vncviewer/parameters.cxx
+++ b/vncviewer/parameters.cxx
@@ -56,7 +56,7 @@ BoolParameter customCompressLevel("CustomCompressLevel",
"Default if CompressLevel is specified.", false);
IntParameter compressLevel("CompressLevel",
"Use specified compression level 0 = Low, 6 = High",
- 1);
+ 2);
BoolParameter noJpeg("NoJPEG",
"Disable lossy JPEG compression in Tight encoding.",
false);