mirror of
https://github.com/patjak/facetimehd.git
synced 2026-04-09 11:02:31 +02:00
facetimehd: Remove V4L2_CAP_TIMEPERFRAME from device caps
V4L2_CAP_TIMERPERFRAME is a streaming paramater and must not go into the device caps. This accidentally exposed mplane support which we don't have yet.
This commit is contained in:
@@ -368,8 +368,8 @@ static int fthd_v4l2_ioctl_querycap(struct file *filp, void *priv,
|
||||
snprintf(cap->bus_info, sizeof(cap->bus_info), "PCI:%s",
|
||||
pci_name(dev_priv->pdev));
|
||||
|
||||
cap->device_caps = V4L2_CAP_VIDEO_CAPTURE |
|
||||
V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | V4L2_CAP_TIMEPERFRAME;
|
||||
cap->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_READWRITE |
|
||||
V4L2_CAP_STREAMING;
|
||||
cap->capabilities = cap->device_caps | V4L2_CAP_DEVICE_CAPS;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user