Revise roi to be a 1-1 aspect

This commit is contained in:
MrDave
2019-12-01 18:15:52 -07:00
committed by Mr-Dave
parent 3ccb0d8f27
commit eb873a2ec6
3 changed files with 73 additions and 32 deletions

View File

@@ -488,6 +488,8 @@ static void event_secondary_detect(struct ctx_cam *cam, motion_event evnt
(void)ftype;
(void)ts1;
MOTION_LOG(NTC, TYPE_EVENTS, NO_ERRNO,_("Event secondary detect"));
if (cam->conf->on_secondary_detect != "")
exec_command(cam, cam->conf->on_secondary_detect.c_str(), NULL, 0);
}