We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 607f86d commit acd0e8eCopy full SHA for acd0e8e
common/rfb/EncodeManager.cxx
@@ -503,6 +503,11 @@ void EncodeManager::prepareEncoders(bool allowLossy)
503
solid = encoderHextile;
504
}
505
506
+ // Prefer the plain JPEG encoder as it compresses better
507
+ if ((fullColour == encoderTightJPEG) &&
508
+ encoders[encoderJPEG]->isSupported())
509
+ fullColour = encoderJPEG;
510
+
511
activeEncoders[encoderSolid] = solid;
512
activeEncoders[encoderBitmap] = bitmap;
513
activeEncoders[encoderBitmapRLE] = bitmapRLE;
0 commit comments