summaryrefslogtreecommitdiffstats
path: root/libvncclient/vncviewer.c
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2015-04-17 12:20:59 +0200
committerChristian Beier <dontmind@freeshell.org>2015-04-17 12:20:59 +0200
commit612de004c47586d74d5a93901a2d94ca1fc3f5e3 (patch)
treece4e63baee638a73ff142435f602b4032f4c2384 /libvncclient/vncviewer.c
parent107109492e37f0b508f55b5b4e4bd8dcfae3d0cf (diff)
downloadlibtdevnc-612de004c47586d74d5a93901a2d94ca1fc3f5e3.tar.gz
libtdevnc-612de004c47586d74d5a93901a2d94ca1fc3f5e3.zip
Revert "LibVNCClient: Add H.264 encoding for framebuffer updates"
This reverts commit d891478ec985660c03f95cffda0e6a1ad4ba350c. Conflicts: configure.ac libvncclient/h264.c
Diffstat (limited to 'libvncclient/vncviewer.c')
-rw-r--r--libvncclient/vncviewer.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c
index b12116c..4f87f01 100644
--- a/libvncclient/vncviewer.c
+++ b/libvncclient/vncviewer.c
@@ -116,11 +116,7 @@ static rfbBool MallocFrameBuffer(rfbClient* client) {
static void initAppData(AppData* data) {
data->shareDesktop=TRUE;
data->viewOnly=FALSE;
-#ifdef LIBVNCSERVER_CONFIG_LIBVA
- data->encodingsString="h264 tight zrle ultra copyrect hextile zlib corre rre raw";
-#else
data->encodingsString="tight zrle ultra copyrect hextile zlib corre rre raw";
-#endif
data->useBGR233=FALSE;
data->nColours=0;
data->forceOwnCmap=FALSE;
@@ -158,9 +154,6 @@ rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel,
/* default: use complete frame buffer */
client->updateRect.x = -1;
- client->frameBuffer = NULL;
- client->outputWindow = 0;
-
client->format.bitsPerPixel = bytesPerPixel*8;
client->format.depth = bitsPerSample*samplesPerPixel;
client->appData.requestedDepth=client->format.depth;