Re: [Spice-devel] [spice-gtk PATCH v4] Usbredir: enable lz4 compression

2016-05-10 Thread Pavel Grunt
Hi Snir, it is also needed to increase required version of the spice-protocol in configure.ac for the components using new symbols. Currently  spice-common requires spice-protocol >= 0.12.10  spice-gtk requires spice-protocol >= 0.12.11  spice-server requires spice-protocol >= 0.12.11 And the ne

Re: [Spice-devel] [spice-gtk PATCH v4] Usbredir: enable lz4 compression

2016-05-10 Thread Victor Toso
Hi, On Thu, May 05, 2016 at 02:43:35PM +0300, Snir Sheriber wrote: > Compressed message type is CompressedData which contains compression > type (1 byte) followed by the uncompressed data size (4 bytes) followed > by the compressed data size (4 bytes) followed by the compressed data > > If SPICE_

[Spice-devel] [spice-gtk PATCH v4] Usbredir: enable lz4 compression

2016-05-05 Thread Snir Sheriber
Compressed message type is CompressedData which contains compression type (1 byte) followed by the uncompressed data size (4 bytes) followed by the compressed data size (4 bytes) followed by the compressed data If SPICE_SPICEVMC_CAP_DATA_COMPRESS_LZ4 capability is available && data_size > COMPRESS