Fixed timestamping bug in sent images.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@879 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2004-02-19 15:51:02 +00:00
parent 7c8dc1808c
commit 542d3ffb40
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ bool Event::WriteFrameImage( Image *image, struct timeval timestamp, const char
{
Image ts_image( *image );
monitor->TimestampImage( &ts_image, timestamp.tv_sec );
if ( !(bool)config.Item( ZM_OPT_FRAME_SERVER ) || !SendFrameImage( image, alarm_frame) )
if ( !(bool)config.Item( ZM_OPT_FRAME_SERVER ) || !SendFrameImage( &ts_image, alarm_frame) )
{
ts_image.WriteJpeg( event_file );
}