Commit 4c7e185a authored by Christian Beier's avatar Christian Beier

Move tightsubsamplevel member to the end of rfbClient struct.

Try to not break ABI between releases. Even if the code gets ugly...
parent 2ebf2d06
...@@ -599,10 +599,6 @@ typedef struct _rfbClientRec { ...@@ -599,10 +599,6 @@ typedef struct _rfbClientRec {
#if defined(LIBVNCSERVER_HAVE_LIBJPEG) || defined(LIBVNCSERVER_HAVE_LIBPNG) #if defined(LIBVNCSERVER_HAVE_LIBJPEG) || defined(LIBVNCSERVER_HAVE_LIBPNG)
int tightCompressLevel; int tightCompressLevel;
#endif #endif
#ifdef LIBVNCSERVER_HAVE_TURBOVNC
/* TurboVNC Encoding support (extends TightVNC) */
int tightSubsampLevel;
#endif
#endif #endif
/* Ultra Encoding support */ /* Ultra Encoding support */
...@@ -677,6 +673,10 @@ typedef struct _rfbClientRec { ...@@ -677,6 +673,10 @@ typedef struct _rfbClientRec {
int afterEncBufLen; int afterEncBufLen;
#if defined(LIBVNCSERVER_HAVE_LIBZ) || defined(LIBVNCSERVER_HAVE_LIBPNG) #if defined(LIBVNCSERVER_HAVE_LIBZ) || defined(LIBVNCSERVER_HAVE_LIBPNG)
uint32_t tightEncoding; /* rfbEncodingTight or rfbEncodingTightPng */ uint32_t tightEncoding; /* rfbEncodingTight or rfbEncodingTightPng */
#ifdef LIBVNCSERVER_HAVE_TURBOVNC
/* TurboVNC Encoding support (extends TightVNC) */
int tightSubsampLevel;
#endif
#endif #endif
#ifdef LIBVNCSERVER_WITH_WEBSOCKETS #ifdef LIBVNCSERVER_WITH_WEBSOCKETS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment