mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 06:32:44 +00:00
dcc: Add debug log when setting compression
Without this it's not obvious that a compression setting took effect. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
ac14cd5378
commit
920dabdd88
@ -19,6 +19,7 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <common/utils.h>
|
||||
#include "dcc-private.h"
|
||||
#include "display-channel.h"
|
||||
#include "display-channel-private.h"
|
||||
@ -1093,6 +1094,9 @@ static bool dcc_handle_preferred_compression(DisplayChannelClient *dcc,
|
||||
default:
|
||||
spice_warning("preferred-compression: unsupported image compression setting");
|
||||
}
|
||||
g_debug("Setting preferred compression to %s",
|
||||
spice_genum_get_nick(SPICE_TYPE_SPICE_IMAGE_COMPRESSION_T,
|
||||
dcc->priv->image_compression));
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 2060672e8126ed9086dac6b70a4b138c106084a8
|
||||
Subproject commit 125cfa7fb2493060419c79eae3b40dbc499bd3db
|
||||
Loading…
Reference in New Issue
Block a user