Revise parameters for netcam

This commit is contained in:
MrDave
2020-11-26 20:20:59 -07:00
committed by Mr-Dave
parent 7ec73c4e25
commit 840bde1516
6 changed files with 197 additions and 356 deletions

View File

@@ -1374,17 +1374,6 @@ static void mlp_parmsupdate(struct ctx_cam *cam)
cam->noise = cam->conf->noise_level;
}
if (cam->netcam != NULL){
pthread_mutex_lock(&cam->motapp->mutex_parms);
cam->netcam->framerate = cam->conf->framerate;
pthread_mutex_unlock(&cam->motapp->mutex_parms);
}
if (cam->netcam_high != NULL){
pthread_mutex_lock(&cam->motapp->mutex_parms);
cam->netcam_high->framerate = cam->conf->framerate;
pthread_mutex_unlock(&cam->motapp->mutex_parms);
}
cam->parms_changed = false;
}