Skip to contentSkip to conversation

spice: flip streaming video mode to off by default

PATCH In review Gerd Hoffmann 2 participants 2 messages Dec 2, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 ui/spice-core.c | 2 ++
 1 file changed, 2 insertions(+)
ui/spice-core.c +2 -0
index e4d533d..9fb9544 100644
@@ -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
Signature · 1 line
1.8.3.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Gerd Hoffmann

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.

Quoted 19 lines
---
 ui/spice-core.c | 2 ++
 1 file changed, 2 insertions(+)
ui/spice-core.c +2 -0
index e4d533d..9fb9544 100644
@@ -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