Implemented new "VideoPriority" parameter. It allows to increase the priority of video data (when set to 2 or higher), or to disable video detection completely (when set to 0). The value 1 gives video area the same priority as the rest of the screen, the value 2 doubles video area priority, and so on.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2379 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/x0vncserver/PollingManager.h b/unix/x0vncserver/PollingManager.h
index 3f77081..e3a29b0 100644
--- a/unix/x0vncserver/PollingManager.h
+++ b/unix/x0vncserver/PollingManager.h
@@ -115,10 +115,13 @@
char *m_rateMatrix;
char *m_videoFlags;
Rect m_videoRect;
+ int m_numVideoPasses;
unsigned int m_pollingStep;
static const int m_pollingOrder[];
+ static IntParameter m_videoPriority;
+
#ifdef DEBUG
private: