From 1099eeae24b28306022ae3663a2766261b3455e4 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 18 Oct 2005 12:07:40 +0000 Subject: *** empty log message *** --- src/server.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server.cc') 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); -- cgit v1.2.3