node-v4l2camera
node-v4l2camera copied to clipboard
Bug: will always have error message "camera format [YUYV] is not supported" because check is wrong
One of the two checks in https://github.com/bellbind/node-v4l2camera/blob/master/c-examples/capture-jpeg.c#L85 will always be true. Therefore the program will always throw an error. Change the logic operator from || to && and it is fine