aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/SMsgReader.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 /common/rfb/SMsgReader.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 'common/rfb/SMsgReader.cxx')
-rw-r--r--common/rfb/SMsgReader.cxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/common/rfb/SMsgReader.cxx b/common/rfb/SMsgReader.cxx
index d2270640..447e0a41 100644
--- a/common/rfb/SMsgReader.cxx
+++ b/common/rfb/SMsgReader.cxx
@@ -99,25 +99,3 @@ void SMsgReader::readClientCutText()
handler->clientCutText(ca.buf, len);
}
-void SMsgReader::readVideoRectangleSelection()
-{
- (void)is->readU8();
- int x = is->readU16();
- int y = is->readU16();
- int w = is->readU16();
- int h = is->readU16();
- Rect rect(x, y, x+w, y+h);
-
- if (!rect.is_empty()) {
- vlog.debug("Video area selected by client: %dx%d at (%d,%d)",
- w, h, x, y);
- } else if (x != 0 || y != 0 || w != 0 || h != 0) {
- vlog.debug("Empty video area selected by client: %dx%d at (%d,%d)",
- w, h, x, y);
- rect.clear();
- } else {
- vlog.debug("Video area discarded by client");
- }
- handler->setVideoRectangle(rect);
-}
-