Procházet zdrojové kódy

Increase maximum input buffer

macOS' built in VNC server unfortunately sends the entire monitor in a
single rect, so we need to be prepared to buffer a lot of data in case
the monitor has a large resolution.
tags/v1.12.90
Pierre Ossman před 2 roky
rodič
revize
479ec11a2e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      common/rdr/BufferedInStream.cxx

+ 1
- 1
common/rdr/BufferedInStream.cxx Zobrazit soubor

@@ -27,7 +27,7 @@
using namespace rdr;

static const size_t DEFAULT_BUF_SIZE = 8192;
static const size_t MAX_BUF_SIZE = 4 * 1024 * 1024;
static const size_t MAX_BUF_SIZE = 32 * 1024 * 1024;

BufferedInStream::BufferedInStream()
: bufSize(DEFAULT_BUF_SIZE), offset(0)

Načítá se…
Zrušit
Uložit