[vino/gnome-3-6] Set quality level if JPEG support is enabled
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vino/gnome-3-6] Set quality level if JPEG support is enabled
- Date: Mon, 12 Nov 2012 20:38:45 +0000 (UTC)
commit 3af06691eee6cf71f7b8ee9ab95410d3bfd08bc1
Author: ozu17928 <ozu17928 msb minsmail com>
Date: Mon Nov 12 20:26:54 2012 +0000
Set quality level if JPEG support is enabled
Fixes bug 683793.
server/libvncserver/rfbserver.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/server/libvncserver/rfbserver.c b/server/libvncserver/rfbserver.c
index f02a7f9..2d143fa 100644
--- a/server/libvncserver/rfbserver.c
+++ b/server/libvncserver/rfbserver.c
@@ -647,6 +647,9 @@ rfbProcessClientNormalMessage(rfbClientPtr cl)
cl->useCopyRect = FALSE;
cl->enableLastRectEncoding = FALSE;
cl->useNewFBSize = FALSE;
+#ifdef VINO_HAVE_JPEG
+ cl->tightQualityLevel = -1;
+#endif
for (i = 0; i < msg.se.nEncodings; i++) {
if ((n = ReadExact(cl, (char *)&enc, 4)) <= 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]