From 1622a3cda79682e3ee36a8b37852ea8ce3bdd4a2 Mon Sep 17 00:00:00 2001 From: enikey Date: Wed, 24 Dec 2008 03:58:29 +0000 Subject: [PATCH] [Developement] All decoders have pointer to record output stream. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3448 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- java/src/com/tightvnc/vncviewer/VncCanvas.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java/src/com/tightvnc/vncviewer/VncCanvas.java b/java/src/com/tightvnc/vncviewer/VncCanvas.java index 56d41480..4cd2e935 100644 --- a/java/src/com/tightvnc/vncviewer/VncCanvas.java +++ b/java/src/com/tightvnc/vncviewer/VncCanvas.java @@ -117,6 +117,8 @@ class VncCanvas extends Canvas // Input stream for decoders RfbInputStream rfbis = new RfbInputStream(rfb); + // Create output stream for session recording + RecordOutputStream ros = new RecordOutputStream(this); rawDecoder = new RawDecoder(memGraphics, rfbis); rreDecoder = new RREDecoder(memGraphics, rfbis); @@ -152,6 +154,7 @@ class VncCanvas extends Canvas for (int i = 0; i < decoders.length; i++) { decoders[i].setSessionRecorder(this); + decoders[i].setDataOutputStream(ros); } setPixelFormat(); -- 2.39.5