summaryrefslogtreecommitdiff
path: root/server/reds.c
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2015-06-12 10:41:42 -0500
committerJonathon Jongsma <jjongsma@redhat.com>2015-06-15 13:08:42 -0500
commita94836a467a942f32ed5cc88d2941101c995f355 (patch)
tree4e1eb25097199a4ac7b4f823938bb86988c87d1a /server/reds.c
parentedc52a4ead75ddc836b5f693d8d41f6b1fe4c1b8 (diff)
Remove duplicate streaming enumeration
There is already a enumeration in a public header that defines the different streaming options, so there's no need to duplicate that enumeration internally. Just use the public enum values.
Diffstat (limited to 'server/reds.c')
-rw-r--r--server/reds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/reds.c b/server/reds.c
index 3a38258c..12c0bf4c 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -110,7 +110,7 @@ static uint8_t spice_uuid[16] = { 0, };
static int ticketing_enabled = 1; //Ticketing is enabled by default
static pthread_mutex_t *lock_cs;
static long *lock_count;
-uint32_t streaming_video = STREAM_VIDEO_FILTER;
+uint32_t streaming_video = SPICE_STREAM_VIDEO_FILTER;
spice_image_compression_t image_compression = SPICE_IMAGE_COMPRESS_AUTO_GLZ;
spice_wan_compression_t jpeg_state = SPICE_WAN_COMPRESSION_AUTO;
spice_wan_compression_t zlib_glz_state = SPICE_WAN_COMPRESSION_AUTO;