[Spice-commits] server/dcc.c subprojects/spice-common
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Nov 26 13:04:52 UTC 2018
server/dcc.c | 4 ++++
subprojects/spice-common | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 920dabdd88eeb2f4c8afd7d1c0abd41bbdd3ac65
Author: Christophe Fergeau <cfergeau at redhat.com>
Date: Thu Oct 4 18:01:44 2018 +0200
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 at redhat.com>
Acked-by: Frediano Ziglio <fziglio at redhat.com>
diff --git a/server/dcc.c b/server/dcc.c
index 826dd28f..ae7b4380 100644
--- a/server/dcc.c
+++ b/server/dcc.c
@@ -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;
}
diff --git a/subprojects/spice-common b/subprojects/spice-common
index 2060672e..125cfa7f 160000
--- a/subprojects/spice-common
+++ b/subprojects/spice-common
@@ -1 +1 @@
-Subproject commit 2060672e8126ed9086dac6b70a4b138c106084a8
+Subproject commit 125cfa7fb2493060419c79eae3b40dbc499bd3db
More information about the Spice-commits
mailing list