diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2015-07-10 11:13:53 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2015-07-29 17:40:48 +0200 |
commit | de66161c6e3f99a1ae140b74d25171b3a24780e9 (patch) | |
tree | a13fe01d3fca72a89e9c71b19c810c844d4192f7 /server/red_dispatcher.c | |
parent | 04d9d790132127ae3b70dd86c1a7e914498d9dab (diff) | |
download | spice-de66161c6e3f99a1ae140b74d25171b3a24780e9.tar.gz spice-de66161c6e3f99a1ae140b74d25171b3a24780e9.tar.xz spice-de66161c6e3f99a1ae140b74d25171b3a24780e9.zip |
Adjust to new SpiceImageCompress name
This has been renamed to SpiceImageCompression in order to avoid clashes
with older spice-server in the SPICE_IMAGE_COMPRESS_ namespace. This
commit is a straight rename of SpiceImageCompress to
SpiceImageCompression and SPICE_IMAGE_COMPRESS_ to
SPICE_IMAGE_COMPRESSION_
Diffstat (limited to 'server/red_dispatcher.c')
-rw-r--r-- | server/red_dispatcher.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/red_dispatcher.c b/server/red_dispatcher.c index d2420cf9..113848a6 100644 --- a/server/red_dispatcher.c +++ b/server/red_dispatcher.c @@ -70,7 +70,7 @@ struct RedDispatcher { }; extern uint32_t streaming_video; -extern SpiceImageCompress image_compression; +extern SpiceImageCompression image_compression; extern spice_wan_compression_t jpeg_state; extern spice_wan_compression_t zlib_glz_state; @@ -747,7 +747,7 @@ static inline int calc_compression_level(void) { spice_assert(streaming_video != SPICE_STREAM_VIDEO_INVALID); if ((streaming_video != SPICE_STREAM_VIDEO_OFF) || - (image_compression != SPICE_IMAGE_COMPRESS_QUIC)) { + (image_compression != SPICE_IMAGE_COMPRESSION_QUIC)) { return 0; } else { return 1; |