From afd3c7f93f4c548e061496f26f1ccb50cf5256df Mon Sep 17 00:00:00 2001 From: Emmanuel Papin Date: Wed, 22 Jul 2015 22:27:20 +0200 Subject: [PATCH] Update comments in src/zm_monitor.cpp --- src/zm_monitor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zm_monitor.cpp b/src/zm_monitor.cpp index f4b6ea464..07214dcac 100644 --- a/src/zm_monitor.cpp +++ b/src/zm_monitor.cpp @@ -1177,10 +1177,10 @@ bool Monitor::Analyse() struct timeval now; gettimeofday( &now, NULL ); - // Compute the current fps + // Compute the current analysis fps fps = double( 1 / ( now.tv_sec + now.tv_usec / 1000000.0 - last_analysis_time ) ); - // Skip frame if the current fps is above the requested analysis fps + // Skip frame if the current analysis fps is above the requested analysis fps if ( ( analysis_fps > 0 ) && ( fps > analysis_fps ) ) { shared_data->last_read_index = shared_data->last_write_index;