diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-11-20 15:39:17 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-11-20 15:39:17 +0000 |
commit | 701ad68d0dccd6d409d480435eadbaf689cfad41 (patch) | |
tree | bd0e007e630b767cf7ded398dd3bdc4ad25c4e9f /common/rfb/TightEncoder.cxx | |
parent | c997129ef3c1af1723750794845354e077379d56 (diff) | |
download | tigervnc-701ad68d0dccd6d409d480435eadbaf689cfad41.tar.gz tigervnc-701ad68d0dccd6d409d480435eadbaf689cfad41.zip |
Increase the default compression level to cater to a broader range of users
(bandwidth is often the limiting factor, rather than CPU). Further increases
give little returns, so 2 is currently deemed the best tradeoff.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4811 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/TightEncoder.cxx')
-rw-r--r-- | common/rfb/TightEncoder.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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. |