]> git.proxmox.com Git - mirror_novnc.git/commitdiff
comment out per-decompress checksum and logging
authorMike Tinglof <quicklyfrozen@gmail.com>
Mon, 30 Jan 2012 07:26:36 +0000 (02:26 -0500)
committerMike Tinglof <quicklyfrozen@gmail.com>
Mon, 30 Jan 2012 07:26:36 +0000 (02:26 -0500)
include/rfb.js

index 22165c40066d449b1e8986107c176e58f6989d4c..64e4b98caffc5b3d9450bf08bdb143747d138b5b 100644 (file)
@@ -1312,8 +1312,8 @@ encHandlers.TIGHT = function display_tight() {
         var uncompressed = FBU.zlibs[streamId].uncompress(data, 0);
         if (uncompressed.status !== 0)
             throw("Invalid data in zlib stream");
-        Util.Warn("Decompressed " + data.length + " to " + uncompressed.data.length + " checksums " + 
-            checksum(data) + ":" + checksum(uncompressed.data));
+        //Util.Warn("Decompressed " + data.length + " to " + uncompressed.data.length + " checksums " + 
+        //    checksum(data) + ":" + checksum(uncompressed.data));
         
         return uncompressed.data;
     }
@@ -1347,6 +1347,7 @@ encHandlers.TIGHT = function display_tight() {
             data = decompress(ws.rQshiftBytes(clength[1]));
 
         // Convert indexed (palette based) image data to RGB
+        // TODO: reduce number of calculations inside loop
         var dest = [];
         var x, y, b;
         if (numColors == 2) {