mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
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.
This commit is contained in:
parent
83cb5ef957
commit
a6d224521e
1 changed files with 2 additions and 1 deletions
|
@ -594,7 +594,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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue