Disable zm_event.cpp deleting the diagnostic images every second
This commit is contained in:
parent
066fe89718
commit
7e0206bbcc
|
@ -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 )
|
||||||
|
|
Loading…
Reference in New Issue