From 7dfa22e1ce9b678f4bae0e6522933bcb43a6f80e Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 12 Mar 2009 13:03:22 +0000 Subject: [PATCH] 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 --- unix/vncviewer/CConn.cxx | 2 +- unix/vncviewer/vncviewer.cxx | 2 +- win/vncviewer/CConnOptions.cxx | 6 +++--- 3 files changed, 5 insertions(+), 5 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; diff --git a/win/vncviewer/CConnOptions.cxx b/win/vncviewer/CConnOptions.cxx index 7bf36eb7..cb561930 100644 --- a/win/vncviewer/CConnOptions.cxx +++ b/win/vncviewer/CConnOptions.cxx @@ -115,7 +115,7 @@ static BoolParameter noJpeg("NoJPEG", static IntParameter qualityLevel("QualityLevel", "JPEG quality level. " "0 = Low, 9 = High", - 6); + 8); static BoolParameter autoScaling("AutoScaling", "Auto rescale local copy of the remote desktop to the client window.", @@ -130,7 +130,7 @@ useDesktopResize(::useDesktopResize), fullScreen(::fullScreen), fullColour(::fullColour), lowColourLevel(::lowColourLevel), -preferredEncoding(encodingZRLE), +preferredEncoding(encodingTight), autoSelect(::autoSelect), shared(::sharedConnection), sendPtrEvents(::sendPtrEvents), @@ -154,7 +154,7 @@ qualityLevel(::qualityLevel), passwordFile(::passwordFile.getData()) { if (autoSelect) { - preferredEncoding = encodingZRLE; + preferredEncoding = encodingTight; } else { CharArray encodingName(::preferredEncoding.getData()); preferredEncoding = encodingNum(encodingName.buf); -- 2.39.5