summaryrefslogtreecommitdiffstats
path: root/unix/vncviewer
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2009-03-12 13:03:22 +0000
committerPierre Ossman <ossman@cendio.se>2009-03-12 13:03:22 +0000
commit7dfa22e1ce9b678f4bae0e6522933bcb43a6f80e (patch)
tree0cde56cbf4282fd80afaf3c6a894ca9fb8a35495 /unix/vncviewer
parent78b2359dcad4bc07ffee55353eca14092e2fba8c (diff)
downloadtigervnc-7dfa22e1ce9b678f4bae0e6522933bcb43a6f80e.tar.gz
tigervnc-7dfa22e1ce9b678f4bae0e6522933bcb43a6f80e.zip
Change encoding and quality defaults to what auto mode would choose.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3663 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/vncviewer')
-rw-r--r--unix/vncviewer/CConn.cxx2
-rw-r--r--unix/vncviewer/vncviewer.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/vncviewer/CConn.cxx b/unix/vncviewer/CConn.cxx
index db364895..4a1aeb0e 100644
--- a/unix/vncviewer/CConn.cxx
+++ b/unix/vncviewer/CConn.cxx
@@ -54,7 +54,7 @@ CConn::CConn(Display* dpy_, int argc_, char** argv_, network::Socket* sock_,
: dpy(dpy_), argc(argc_),
argv(argv_), serverHost(0), serverPort(0), sock(sock_), viewport(0),
desktop(0), desktopEventHandler(0),
- currentEncoding(encodingZRLE), lastServerEncoding((unsigned int)-1),
+ currentEncoding(encodingTight), lastServerEncoding((unsigned int)-1),
fullColour(::fullColour),
autoSelect(::autoSelect), shared(::shared), formatChange(false),
encodingChange(false), sameMachine(false), fullScreen(::fullScreen),
diff --git a/unix/vncviewer/vncviewer.cxx b/unix/vncviewer/vncviewer.cxx
index 8b9fea4e..dc494309 100644
--- a/unix/vncviewer/vncviewer.cxx
+++ b/unix/vncviewer/vncviewer.cxx
@@ -121,7 +121,7 @@ BoolParameter noJpeg("NoJPEG",
IntParameter qualityLevel("QualityLevel",
"JPEG quality level. "
"0 = Low, 9 = High",
- 6);
+ 8);
char aboutText[1024];
char* programName;