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>2009-11-30 18:45:06 +0200
commit00d5bf8b958462ff68fa59bf4007543893bba9c7 (patch)
treec0304d72df4da6ec1b93b0171868a672af32ea52 /server/red_common.h
parent6c5966d8ed8ff248ca21900aaf2350aac87f68e4 (diff)
downloadspice-00d5bf8b958462ff68fa59bf4007543893bba9c7.tar.gz
spice-00d5bf8b958462ff68fa59bf4007543893bba9c7.tar.xz
spice-00d5bf8b958462ff68fa59bf4007543893bba9c7.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 9d744fbd..fafb2841 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;