From 562eb717412343118ddf2b2147b95751c89ee442 Mon Sep 17 00:00:00 2001 From: DRC Date: Sat, 21 Feb 2015 12:01:47 -0600 Subject: [PATCH] encperf: add compression level to encoding list Explicitly add the compression level to the list of encodings so it's obvious how to override it. --- tests/encperf.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/encperf.cxx b/tests/encperf.cxx index ffa30473..20644960 100644 --- a/tests/encperf.cxx +++ b/tests/encperf.cxx @@ -60,7 +60,8 @@ static const rfb::PixelFormat fbPF(32, 24, false, true, 255, 255, 255, 0, 8, 16) static const rdr::S32 encodings[] = { rfb::encodingTight, rfb::encodingCopyRect, rfb::encodingRRE, rfb::encodingHextile, rfb::encodingZRLE, rfb::pseudoEncodingLastRect, - rfb::pseudoEncodingQualityLevel0 + 8 }; + rfb::pseudoEncodingQualityLevel0 + 8, + rfb::pseudoEncodingCompressLevel0 + 2}; class DummyOutStream : public rdr::OutStream { public: -- 2.39.5