mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-27 20:04:11 +08:00
libfreerdp-core: fix compression level
This commit is contained in:
parent
769502ec72
commit
8c54a436ea
@ -52,7 +52,7 @@ const char* bulk_get_compression_flags_string(UINT32 flags)
|
||||
UINT32 bulk_compression_level(rdpBulk* bulk)
|
||||
{
|
||||
rdpSettings* settings = bulk->context->settings;
|
||||
bulk->CompressionLevel = (settings->CompressionLevel >= 2) ? 2 : 0;
|
||||
bulk->CompressionLevel = (settings->CompressionLevel >= 2) ? 2 : settings->CompressionLevel;
|
||||
return bulk->CompressionLevel;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user