Disable zm_event.cpp deleting the diagnostic images every second

This commit is contained in:
Kfir Itzhak 2011-07-02 15:38:34 +03:00
parent 066fe89718
commit 7e0206bbcc
1 changed files with 3 additions and 1 deletions

View File

@ -601,6 +601,7 @@ void Event::AddFrame( Image *image, struct timeval timestamp, int score, Image *
} }
} }
/* This makes viewing the diagnostic images impossible because it keeps deleting them
if ( config.record_diag_images ) if ( config.record_diag_images )
{ {
char diag_glob[PATH_MAX] = ""; char diag_glob[PATH_MAX] = "";
@ -641,6 +642,7 @@ void Event::AddFrame( Image *image, struct timeval timestamp, int score, Image *
} }
globfree( &pglob ); globfree( &pglob );
} }
*/
} }
bool EventStream::loadInitialEventData( int monitor_id, time_t event_time ) bool EventStream::loadInitialEventData( int monitor_id, time_t event_time )