Fixed issue with signal loss detection and timestamp label.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3143 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2010-10-08 22:42:54 +00:00
parent ee50a8c42e
commit 52b83eb813
1 changed files with 1 additions and 1 deletions

View File

@ -1024,7 +1024,7 @@ bool Monitor::CheckSignal( const Image *image )
break; break;
// Avoid sampling the rows with timestamp in // Avoid sampling the rows with timestamp in
int y = index / (width * colours); int y = index / (width * colours);
if ( y < label_coord.Y() || y > label_coord.Y()+Image::LINE_HEIGHT ) if ( y < label_coord.Y() || y <= label_coord.Y()+Image::LINE_HEIGHT )
break; break;
} }
const unsigned char *ptr = buffer+(index*colours); const unsigned char *ptr = buffer+(index*colours);