summaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2005-01-07 09:48:15 +0000
committerPeter Åstrand <astrand@cendio.se>2005-01-07 09:48:15 +0000
commit2ac6381add8aa99b3ebdc2afd2cd16525b70306e (patch)
treefaad453789f209eaa1560a169af4b257bc625537 /vncviewer
parentba09e35131f88476ea2f53ef3f9e40753101cc1d (diff)
downloadtigervnc-2ac6381add8aa99b3ebdc2afd2cd16525b70306e.tar.gz
tigervnc-2ac6381add8aa99b3ebdc2afd2cd16525b70306e.zip
Tight encoding is actually faster than Hextile when bandwidth is less than roughly 16 Mbps.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@84 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer')
-rw-r--r--vncviewer/cview.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vncviewer/cview.cxx b/vncviewer/cview.cxx
index 97cb9afe..fd5d2c5e 100644
--- a/vncviewer/cview.cxx
+++ b/vncviewer/cview.cxx
@@ -1128,7 +1128,7 @@ CView::framebufferUpdateEnd() {
// to the connection speed:
//
// Above 16Mbps (timing for at least a second), same machine, switch to raw
-// Above 3Mbps, switch to hextile
+// Above 16Mbps (timing for at least a second), switch to hextile
// Otherwise, switch to Tight
//
// Above 256Kbps, use full colour mode
@@ -1143,7 +1143,7 @@ CView::autoSelectFormatAndEncoding() {
// Select best encoding
if (kbitsPerSecond > 16000 && sameMachine && timeWaited >= 10000) {
newEncoding = encodingRaw;
- } else if (kbitsPerSecond > 3000 && timeWaited >= 10000) {
+ } else if (kbitsPerSecond > 16000 && timeWaited >= 10000) {
newEncoding = encodingHextile;
} else {
newEncoding = encodingTight;