diff options
Diffstat (limited to 'server/server.cc')
-rw-r--r-- | server/server.cc | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/server/server.cc b/server/server.cc index 27e5eef..0688a3e 100644 --- a/server/server.cc +++ b/server/server.cc @@ -3,7 +3,7 @@ * server.cc * * Mon Nov 8 11:35:01 CET 2004 - * Copyright 2004 Bent Bisballe + * Copyright 2004 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ @@ -26,6 +26,10 @@ */ #include "server.h" +//#ifdef USE_DEBUG +//#include "efencepp.h" +//#endif /*USE_DEBUG*/ + #include "network.h" #include <stdio.h> @@ -55,6 +59,7 @@ #include "server_status.h" #include "dv.h" +#include "util.h" void newConnection(Socket *socket) { @@ -65,8 +70,16 @@ void newConnection(Socket *socket) Frame *frame; while((frame = network.recvFrame())) { - - sleep(1); + + MIaV::info->info("TC: %d %d %d %d - shoot %d freeze %d", + frame->timecode.hour, + frame->timecode.min, + frame->timecode.sec, + frame->timecode.frame, + frame->snapshot, + frame->freeze); + + // sleep_1_frame(); if(frame->vframe) delete frame->vframe; if(frame->aframe) delete frame->aframe; |