rfbproto: Add #define for rfbEncodingPts
parent
82080db09a
commit
9fd5caaa4b
|
@ -498,6 +498,7 @@ typedef struct {
|
||||||
#define rfbEncodingSupportedEncodings 0xFFFE0002
|
#define rfbEncodingSupportedEncodings 0xFFFE0002
|
||||||
#define rfbEncodingServerIdentity 0xFFFE0003
|
#define rfbEncodingServerIdentity 0xFFFE0003
|
||||||
|
|
||||||
|
#define rfbEncodingPts -1000
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
|
|
|
@ -1396,7 +1396,7 @@ rfbBool SetFormatAndEncodings(rfbClient* client)
|
||||||
|
|
||||||
/* pts */
|
/* pts */
|
||||||
if (se->nEncodings < MAX_ENCODINGS)
|
if (se->nEncodings < MAX_ENCODINGS)
|
||||||
encs[se->nEncodings++] = rfbClientSwap32IfLE(-1000);
|
encs[se->nEncodings++] = rfbClientSwap32IfLE(rfbEncodingPts);
|
||||||
|
|
||||||
len = sz_rfbSetEncodingsMsg + se->nEncodings * 4;
|
len = sz_rfbSetEncodingsMsg + se->nEncodings * 4;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue