Revise libcam_name to libcam_device for consistency

This commit is contained in:
Mr-Dave
2023-01-28 12:54:42 -07:00
parent 8a88ac444d
commit 5b5cd229a9
5 changed files with 20 additions and 15 deletions

View File

@@ -412,7 +412,7 @@ int mlp_cam_next(ctx_dev *cam, ctx_image_data *img_data)
/* Assign the camera type */
static void mlp_init_camera_type(ctx_dev *cam)
{
if (cam->conf->libcam_name != "") {
if (cam->conf->libcam_device != "") {
cam->camera_type = CAMERA_TYPE_LIBCAM;
} else if (cam->conf->netcam_url != "") {
cam->camera_type = CAMERA_TYPE_NETCAM;