mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-25 15:58:24 -04:00
fix, must clear the frame
This commit is contained in:
1 parent
ed72017684
commit
043e44d273
9 files changed
+45
-12
No files matched your search
@@ -29,13 +29,10 @@ int AnalysisThread::run() {
|
||||
if ( analysis_update_delay ) {
|
||||
cur_time = time( 0 );
|
||||
if ( (unsigned int)( cur_time - last_analysis_update_time ) > analysis_update_delay ) {
|
||||
Debug(4, "Updating " );
|
||||
analysis_rate = monitor->GetAnalysisRate();
|
||||
monitor->UpdateAdaptiveSkip();
|
||||
last_analysis_update_time = cur_time;
|
||||
}
|
||||
} else {
|
||||
Debug(4, "Not Updating " );
|
||||
}
|
||||
|
||||
if ( !monitor->Analyse() ) {
|
||||
|
||||
Reference in new issue
Block a user