diff options
author | Corentin Chary <corentincj@iksaif.net> | 2010-07-07 20:57:51 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-07-26 17:23:53 -0500 |
commit | 6f9c78c1499bd2fb3c31bf87d9b7c1b10c188dfb (patch) | |
tree | d08a73581753bfaaedc66f3ab3253d7955ee33de /vnc.c | |
parent | 2f24e2ed1160b252225bfa6169d552ef955eaaef (diff) |
vnc: add lossy option
The lossy option can be used to enable lossy compression
methods like gradient or jpeg. This patch disable them by
default.
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vnc.c')
-rw-r--r-- | vnc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2482,6 +2482,8 @@ int vnc_display_open(DisplayState *ds, const char *display) #endif } else if (strncmp(options, "acl", 3) == 0) { acl = 1; + } else if (strncmp(options, "lossy", 5) == 0) { + vs->lossy = true; } } |