diff options
author | deva <deva> | 2006-08-12 15:08:42 +0000 |
---|---|---|
committer | deva <deva> | 2006-08-12 15:08:42 +0000 |
commit | 11d72fca7cbfaa052a59150a492d1342a2a436b9 (patch) | |
tree | ea4a36912d51b616395182b463109e3ec68ae7a0 /server/server.cc | |
parent | 0ce19de1ad58dc4a7b25e86125cd2cc78156c001 (diff) |
*** empty log message ***
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; |