From fa822b27d9db55c014f76d20a402e8ee86e2526d Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 18 Oct 2005 14:36:59 +0000 Subject: *** empty log message *** --- src/encoder.cc | 2 ++ src/server.cc | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/encoder.cc b/src/encoder.cc index 4898888..9563d89 100644 --- a/src/encoder.cc +++ b/src/encoder.cc @@ -213,6 +213,8 @@ void Encoder::thread_main() void Encoder::start() { + savestate = NO_CHANGE; + savestate_sent = false; /* if(!s) { s = new Socket(port, errobj); diff --git a/src/server.cc b/src/server.cc index f4b6806..cd12db8 100644 --- a/src/server.cc +++ b/src/server.cc @@ -125,7 +125,6 @@ void newConnection(Socket *socket, Info *info) // No encoder exists, if this is a pure snapshot (image) connection. if(enc) { enc->setSaveState(savestate); - // Send end of stream frame. frame->endOfFrameStream = true; enc->encode(frame); -- cgit v1.2.3