]> source.dussan.org Git - tigervnc.git/commitdiff
Passing image quality level to JpegEncoder.
authorConstantin Kaplinsky <const@tightvnc.com>
Mon, 3 Sep 2007 04:21:56 +0000 (04:21 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Mon, 3 Sep 2007 04:21:56 +0000 (04:21 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2330 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/SMsgWriter.cxx

index 8a6ce66757b9c2ad8caf2e438a33222041771aa6..8d09f8810e9908472862fa7587b6e0dc7bf6b68c 100644 (file)
@@ -105,6 +105,7 @@ void SMsgWriter::setupCurrentEncoder()
 
   encoders[encoding]->setCompressLevel(cp->compressLevel);
   encoders[encoding]->setQualityLevel(cp->qualityLevel);
+  jpegEncoder->setQualityLevel(cp->qualityLevel);
 }
 
 int SMsgWriter::getNumRects(const Rect &r)