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
diff --git a/common/rfb/SConnection.cxx b/common/rfb/SConnection.cxx
index a61627c..9c6ffe3 100644
--- a/common/rfb/SConnection.cxx
+++ b/common/rfb/SConnection.cxx
@@ -46,8 +46,7 @@
: 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 @@
os = os_;
}
-void SConnection::setProtocolOptions(bool enableVideoSelection)
-{
- m_videoSelectionEnabled = enableVideoSelection;
-}
-
void SConnection::initialiseProtocol()
{
cp.writeVersion(os);
@@ -465,10 +459,6 @@
ccaps.addTightExt(msgTypeFileDeleteRequest, "FTC_RMRQ");
*/
- if (m_videoSelectionEnabled) {
- ccaps.addTightExt(msgTypeVideoRectangleSelection, "VRECTSEL");
- }
-
//
// Advertise all supported encoding types (except raw encoding).
//