summaryrefslogtreecommitdiffstats
path: root/server/red_common.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2009-11-29 15:23:03 +0200
committerYaniv Kamay <ykamay@redhat.com>2010-01-03 17:42:56 +0200
commit80dddb8d2a9e43f4d7129ec48d5e229526488025 (patch)
tree6fa30efd7597b702de9fb95e93ec310ee94d5f5a /server/red_common.h
parent173ff6fe0f6f42d4fff2a36b7705258ad5079d83 (diff)
downloadspice-80dddb8d2a9e43f4d7129ec48d5e229526488025.tar.gz
spice-80dddb8d2a9e43f4d7129ec48d5e229526488025.tar.xz
spice-80dddb8d2a9e43f4d7129ec48d5e229526488025.zip
spice server: heuristic for distinguishing between "real" videos and textual streams
Diffstat (limited to 'server/red_common.h')
-rw-r--r--server/red_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/red_common.h b/server/red_common.h
index b397be51..49ba3ad3 100644
--- a/server/red_common.h
+++ b/server/red_common.h
@@ -88,6 +88,13 @@ typedef enum {
IMAGE_COMPRESS_OFF,
} image_compression_t;
+enum {
+ STREAM_VIDEO_INVALID,
+ STREAM_VIDEO_OFF,
+ STREAM_VIDEO_ALL,
+ STREAM_VIDEO_FILTER
+};
+
static inline uint64_t get_time_stamp()
{
struct timespec time_space;