diff options
Diffstat (limited to 'java/src/com/tightvnc/decoder/CoRREDecoder.java')
-rw-r--r-- | java/src/com/tightvnc/decoder/CoRREDecoder.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/java/src/com/tightvnc/decoder/CoRREDecoder.java b/java/src/com/tightvnc/decoder/CoRREDecoder.java index 3947d157..bc086686 100644 --- a/java/src/com/tightvnc/decoder/CoRREDecoder.java +++ b/java/src/com/tightvnc/decoder/CoRREDecoder.java @@ -28,6 +28,15 @@ public class CoRREDecoder extends RawDecoder { // public void handleRect(int x, int y, int w, int h) throws IOException { + + // + // Write encoding ID to record output stream + // + + if (dos != null) { + dos.writeInt(CoRREDecoder.EncodingCoRRE); + } + int nSubrects = rfbis.readU32(); byte[] bg_buf = new byte[bytesPerPixel]; |