Commit 54f0d464 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Log v4l2 driver name and version

parent 378b2c55
......@@ -804,6 +804,7 @@ static void msv4l2_detect(MSWebCamManager *obj){
if (v4l2_ioctl (fd, VIDIOC_QUERYCAP, &cap)==0) {
/* is a V4LV2 */
uint32_t camera_caps = cap.capabilities;
ms_message("v4l2 driver is %s, version is %i", cap.driver, cap.version);
if (cap.capabilities & V4L2_CAP_DEVICE_CAPS) {
camera_caps = cap.device_caps;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment