diff options
author | runge <runge> | 2009-03-07 22:30:43 +0000 |
---|---|---|
committer | runge <runge> | 2009-03-07 22:30:43 +0000 |
commit | e7152a7f68063a86887a9059728ca26b5404ce51 (patch) | |
tree | f7ac5e878e0655840337f10946868231e10dd9ba /x11vnc/misc/turbovnc/convert | |
parent | eb1cc7608b91996199dae88663ee0d14d5d5b3f7 (diff) | |
download | libtdevnc-e7152a7f68063a86887a9059728ca26b5404ce51.tar.gz libtdevnc-e7152a7f68063a86887a9059728ca26b5404ce51.zip |
Allow range for X11VNC_SKIP_DISPLAY, document grab
Xserver issue. Add progress_client() to proceed more quickly
thru handshake. Improvements to turbovnc hack.
Diffstat (limited to 'x11vnc/misc/turbovnc/convert')
-rwxr-xr-x | x11vnc/misc/turbovnc/convert | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/x11vnc/misc/turbovnc/convert b/x11vnc/misc/turbovnc/convert index fdd0dbb..917bf3f 100755 --- a/x11vnc/misc/turbovnc/convert +++ b/x11vnc/misc/turbovnc/convert @@ -11,6 +11,7 @@ while (<>) { #define xalloc malloc #define xrealloc realloc #define rfbTightNoZlib 0x0A +#define tightSubsampLevel correMaxWidth END next; } @@ -22,11 +23,13 @@ END $_ =~ s/\b\Q$func\E\b(\s*)\(/$func$1(cl, /; } } - if (/^\s*subsampLevel\s*=\s*cl/) { - $_ = "//$_"; - print "subsampLevel = 0;\n"; - } - $_ =~ s/cl->tightQualityLevel;/cl->tightQualityLevel * 10;/; + +# if (/^\s*subsampLevel\s*=\s*cl/) { +# $_ = "//$_"; +# print "subsampLevel = 0;\n"; +# } + +# $_ =~ s/cl->tightQualityLevel;/cl->tightQualityLevel * 10;/; $_ =~ s/rfbScreen.pfbMemory/cl->scaledScreen->frameBuffer/g; $_ =~ s/rfbScreen.paddedWidthInBytes/cl->scaledScreen->paddedWidthInBytes/g; |