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

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