summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-12-02 11:17:04 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-12-16 10:12:19 +0100
commitf1d3e586f069e17f83b669842bc02d60d509daca (patch)
tree2037c29a027b847efccb448aee8a6b676a98de77
parente157b8fdd412d48eacfbb8c67d3d58780154faa3 (diff)
downloadqemu-f1d3e586f069e17f83b669842bc02d60d509daca.tar.gz
spice: flip streaming video mode to off by default
Video streaming detection heuristics in spice-server have problems keeping modern desktop animations (as done by gnome shell) and real video playback apart. This leads to jpeg compression artefacts on your desktop, due to spice using mjpeg to send what it thinks is a video stream. Turn off video detection by default to avoid these artifacts. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Alon Levy <alevy@redhat.com>
-rw-r--r--ui/spice-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/spice-core.c b/ui/spice-core.c
index e4d533d4c4..9fb9544a61 100644
--- a/ui/spice-core.c
+++ b/ui/spice-core.c
@@ -776,6 +776,8 @@ void qemu_spice_init(void)
if (str) {
int streaming_video = parse_stream_video(str);
spice_server_set_streaming_video(spice_server, streaming_video);
+ } else {
+ spice_server_set_streaming_video(spice_server, SPICE_STREAM_VIDEO_OFF);
}
spice_server_set_agent_mouse