Removed duplicate code and brackets
This commit is contained in:
parent
4245928b35
commit
7f530bcc2a
|
@ -1611,7 +1611,8 @@ bool Monitor::Analyse()
|
|||
else if ( state == TAPE )
|
||||
{
|
||||
//Video Storage: activate only for supported cameras. Event::AddFrame knows whether or not we are recording video and saves frames accordingly
|
||||
if(config.use_mkv_storage && camera->SupportsNativeVideo()){
|
||||
if(config.use_mkv_storage && camera->SupportsNativeVideo())
|
||||
{
|
||||
video_store_data->recording = true;
|
||||
}
|
||||
if ( !(image_count%(frame_skip+1)) )
|
||||
|
@ -1625,11 +1626,6 @@ bool Monitor::Analyse()
|
|||
event->AddFrame( snap_image, *timestamp );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
event->AddFrame( snap_image, *timestamp );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue