mirror of
https://github.com/Motion-Project/motion.git
synced 2026-04-29 18:34:40 -04:00
Revise libcam_name to libcam_device for consistency
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user