Blob Blame History Raw
diff -up firefox-78.2.0/media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc.rhel6-kernel firefox-78.2.0/media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc
--- firefox-78.2.0/media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc.rhel6-kernel	2020-09-09 19:56:13.159597467 +0200
+++ firefox-78.2.0/media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc	2020-09-09 19:56:31.457712629 +0200
@@ -385,11 +385,7 @@ bool DeviceInfoLinux::IsDeviceNameMatche
 
 bool DeviceInfoLinux::IsVideoCaptureDevice(struct v4l2_capability* cap)
 {
-  if (cap->capabilities & V4L2_CAP_DEVICE_CAPS) {
-    return cap->device_caps & V4L2_CAP_VIDEO_CAPTURE;
-  } else {
-    return cap->capabilities & V4L2_CAP_VIDEO_CAPTURE;
-  }
+  return false;
 }
 
 int32_t DeviceInfoLinux::FillCapabilities(int fd) {