vnc: don't set the quality if lossy encoding are disabled
authorCorentin Chary <corentincj@iksaif.net>
Fri, 4 Feb 2011 08:05:54 +0000 (09:05 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 23 Feb 2011 22:28:28 +0000 (16:28 -0600)
commitb31f519e278601225c53519e3b16333d86770ecf
tree7153bcae3113d5970fd5a3c8924763c344b745f2
parent877fdc12b1ac68be256b2a1ee48c3b241c6c92e2
vnc: don't set the quality if lossy encoding are disabled

This should not change the current behavior, but if any new
encoding try to use the tight quality, it will always be set
to -1 when lossy encodings are disabled.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ui/vnc.c