[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tigervnc-commits
Subject:    [Tigervnc-commits] SF.net SVN: tigervnc:[4001]
From:       ossman_ () users ! sourceforge ! net
Date:       2010-03-03 16:24:36
Message-ID: E1NmrNE-0005lJ-CW () sfp-svn-5 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 4001
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4001&view=rev
Author:   ossman_
Date:     2010-03-03 16:24:36 +0000 (Wed, 03 Mar 2010)

Log Message:
-----------
We need to set encodingChange for the client to actually request a new
encoding. Previously the code would sometimes get stuck in the previous
one.

Modified Paths:
--------------
    trunk/unix/vncviewer/CConn.cxx

Modified: trunk/unix/vncviewer/CConn.cxx
===================================================================
--- trunk/unix/vncviewer/CConn.cxx	2010-03-03 08:48:44 UTC (rev 4000)
+++ trunk/unix/vncviewer/CConn.cxx	2010-03-03 16:24:36 UTC (rev 4001)
@@ -778,7 +778,10 @@
   int newQualityLevel = qualityLevel;
 
   // Always use Tight
-  currentEncoding = encodingTight;
+  if (currentEncoding != encodingTight) {
+    currentEncoding = encodingTight;
+    encodingChange = true;
+  }
 
   // Check that we have a decent bandwidth measurement
   if ((kbitsPerSecond == 0) || (timeWaited < 10000))


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic