diff options
author | deva <deva> | 2005-10-18 12:07:40 +0000 |
---|---|---|
committer | deva <deva> | 2005-10-18 12:07:40 +0000 |
commit | 1099eeae24b28306022ae3663a2766261b3455e4 (patch) | |
tree | 8f40fa2017c8955e014701dd2dd19861bfe68200 /src/server.cc | |
parent | 38e4cbdb7aabf90d9a56ac95f1c8beca810c9436 (diff) |
*** empty log message ***
Diffstat (limited to 'src/server.cc')
-rw-r--r-- | src/server.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server.cc b/src/server.cc index 34f0b30..2ecb4be 100644 --- a/src/server.cc +++ b/src/server.cc @@ -119,12 +119,12 @@ void newConnection(Socket *socket, Info *info) frame = new Frame(NULL, DVPACKAGE_SIZE); } - // TODO: Use save state - info->info("Closing connection..."); // 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); |