From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsUWd-0006Db-Bj for qemu-devel@nongnu.org; Mon, 16 Dec 2013 04:31:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VsUWT-00029y-G2 for qemu-devel@nongnu.org; Mon, 16 Dec 2013 04:31:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsUWT-00029Z-8Q for qemu-devel@nongnu.org; Mon, 16 Dec 2013 04:31:33 -0500 From: Gerd Hoffmann Date: Mon, 16 Dec 2013 10:31:02 +0100 Message-Id: <1387186277-9573-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1387186277-9573-1-git-send-email-kraxel@redhat.com> References: <1387186277-9573-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 01/16] 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 Reviewed-by: Alon Levy --- 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