summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vncviewer/cview.cxx4
-rw-r--r--vncviewer_unix/CConn.cxx4
2 files changed, 4 insertions, 4 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;
diff --git a/vncviewer_unix/CConn.cxx b/vncviewer_unix/CConn.cxx
index 8a4e04e8..1c104601 100644
--- a/vncviewer_unix/CConn.cxx
+++ b/vncviewer_unix/CConn.cxx
@@ -643,7 +643,7 @@ void CConn::reconfigureViewport()
// 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
@@ -658,7 +658,7 @@ void CConn::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;