Return when v4l2 norm is not supported

This commit is contained in:
Mr-Dave
2022-11-26 20:37:07 -07:00
parent 89f0d01b39
commit d910cc618d

View File

@@ -409,6 +409,7 @@ static void v4l2_set_norm(ctx_cam *cam)
if (xioctl(v4l2cam, VIDIOC_G_STD, &std_id) == -1) {
MOTION_LOG(DBG, TYPE_VIDEO, NO_ERRNO
,_("Device does not support specifying PAL/NTSC norm"));
return;
}
if (std_id) {