From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnQjR-0001L3-RH for qemu-devel@nongnu.org; Mon, 02 Dec 2013 05:28:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnQjL-0007Ld-Jj for qemu-devel@nongnu.org; Mon, 02 Dec 2013 05:28:01 -0500 Received: from mx1.redhat.com ([209.132.183.28]:24945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnQjL-0007LS-B4 for qemu-devel@nongnu.org; Mon, 02 Dec 2013 05:27:55 -0500 From: Gerd Hoffmann Date: Mon, 2 Dec 2013 11:27:26 +0100 Message-Id: <1385980046-30995-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH] spice: flip streaming video mode to off by default List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Anthony Liguori 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 --- ui/spice-core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/spice-core.c b/ui/spice-core.c index e4d533d..9fb9544 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 -- 1.8.3.1