Commit d656eece authored by Nicolas Dufresne's avatar Nicolas Dufresne

v4l2: UVC driver is named uvcvideo these days

The quirk to avoid probing interlacing didn't work anymore as the driver
is now name uvcvideo. This should slightly speed up camera startup.
parent 188ab74d
......@@ -597,7 +597,8 @@ gst_v4l2_open (GstV4l2Object * v4l2object)
/* UVC devices are never interlaced, and doing VIDIOC_TRY_FMT on them
* causes expensive and slow USB IO, so don't probe them for interlaced
if (!strcmp ((char *) v4l2object->vcap.driver, "uvcusb")) {
if (!strcmp ((char *) v4l2object->vcap.driver, "uvcusb") ||
!strcmp ((char *) v4l2object->vcap.driver, "uvcvideo")) {
v4l2object->never_interlaced = TRUE;
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