summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordeva <deva>2005-10-18 14:36:59 +0000
committerdeva <deva>2005-10-18 14:36:59 +0000
commitfa822b27d9db55c014f76d20a402e8ee86e2526d (patch)
tree4ed38eded9188b5ea5edab2f09c4091506fe052a /src
parent4a01eed1921b8cd8b8f098ab234ebf75d681b0a9 (diff)
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/encoder.cc2
-rw-r--r--src/server.cc1
2 files changed, 2 insertions, 1 deletions
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);