Commit 83544756 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Edit previous driver log instead of adding a new one

parent 54f0d464
...@@ -330,7 +330,7 @@ static int msv4l2_configure(V4l2State *s){ ...@@ -330,7 +330,7 @@ static int msv4l2_configure(V4l2State *s){
} }
ms_message("Driver is %s",cap.driver); ms_message("Driver is %s, version is %i", cap.driver, cap.version);
memset(&fmt,0,sizeof(fmt)); memset(&fmt,0,sizeof(fmt));
...@@ -804,7 +804,6 @@ static void msv4l2_detect(MSWebCamManager *obj){ ...@@ -804,7 +804,6 @@ static void msv4l2_detect(MSWebCamManager *obj){
if (v4l2_ioctl (fd, VIDIOC_QUERYCAP, &cap)==0) { if (v4l2_ioctl (fd, VIDIOC_QUERYCAP, &cap)==0) {
/* is a V4LV2 */ /* is a V4LV2 */
uint32_t camera_caps = cap.capabilities; uint32_t camera_caps = cap.capabilities;
ms_message("v4l2 driver is %s, version is %i", cap.driver, cap.version);
#ifdef V4L2_CAP_DEVICE_CAPS #ifdef V4L2_CAP_DEVICE_CAPS
if (cap.capabilities & V4L2_CAP_DEVICE_CAPS) { if (cap.capabilities & V4L2_CAP_DEVICE_CAPS) {
camera_caps = 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