summaryrefslogtreecommitdiffstats
path: root/common/rfb/SConnection.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/SConnection.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/SConnection.cxx')
-rw-r--r--common/rfb/SConnection.cxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/common/rfb/SConnection.cxx b/common/rfb/SConnection.cxx
index a61627ca..9c6ffe31 100644
--- a/common/rfb/SConnection.cxx
+++ b/common/rfb/SConnection.cxx
@@ -46,8 +46,7 @@ SConnection::SConnection(SSecurityFactory* secFact, bool reverseConnection_)
: readyForSetColourMapEntries(false),
is(0), os(0), reader_(0), writer_(0),
security(0), securityFactory(secFact), state_(RFBSTATE_UNINITIALISED),
- reverseConnection(reverseConnection_),
- m_videoSelectionEnabled(false)
+ reverseConnection(reverseConnection_)
{
defaultMajorVersion = 3;
defaultMinorVersion = 8;
@@ -77,11 +76,6 @@ void SConnection::setStreams(rdr::InStream* is_, rdr::OutStream* os_)
os = os_;
}
-void SConnection::setProtocolOptions(bool enableVideoSelection)
-{
- m_videoSelectionEnabled = enableVideoSelection;
-}
-
void SConnection::initialiseProtocol()
{
cp.writeVersion(os);
@@ -465,10 +459,6 @@ void SConnection::sendInteractionCaps()
ccaps.addTightExt(msgTypeFileDeleteRequest, "FTC_RMRQ");
*/
- if (m_videoSelectionEnabled) {
- ccaps.addTightExt(msgTypeVideoRectangleSelection, "VRECTSEL");
- }
-
//
// Advertise all supported encoding types (except raw encoding).
//