summaryrefslogtreecommitdiffstats
path: root/unix/x0vncserver/x0vncserver.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2009-03-05 11:57:11 +0000
committerPierre Ossman <ossman@cendio.se>2009-03-05 11:57:11 +0000
commit02e43d78bf13276ef18fd542167e1ca26830a2f4 (patch)
tree9e4c69ff64d17ee9b85ec5e2c300ce704453ecaa /unix/x0vncserver/x0vncserver.cxx
parentb39ace5b32d5a52280198bef0e8bd8a6c5edacba (diff)
downloadtigervnc-02e43d78bf13276ef18fd542167e1ca26830a2f4.tar.gz
tigervnc-02e43d78bf13276ef18fd542167e1ca26830a2f4.zip
Remove the "video" feature and its associated custom JPEG handling.
Having the client specifiy the video region is conceptually wrong and a problem like this should be handled by better encoding selection. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3635 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/x0vncserver/x0vncserver.cxx')
-rw-r--r--unix/x0vncserver/x0vncserver.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/unix/x0vncserver/x0vncserver.cxx b/unix/x0vncserver/x0vncserver.cxx
index f6bd26e5..ec2fd764 100644
--- a/unix/x0vncserver/x0vncserver.cxx
+++ b/unix/x0vncserver/x0vncserver.cxx
@@ -188,7 +188,6 @@ public:
server = (VNCServerST *)vs;
server->setPixelBuffer(pb);
- server->setDefaultVideoRectangle(geometry->getVideoRect());
running = true;
}
@@ -447,7 +446,6 @@ int main(int argc, char** argv)
VNCServerST server("x0vncserver", &desktop);
QueryConnHandler qcHandler(dpy, &server);
server.setQueryConnectionHandler(&qcHandler);
- server.enableVideoSelection(true);
TcpListener listener((int)rfbport);
vlog.info("Listening on port %d", (int)rfbport);