Commit a16a190f authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

qcap: Use the v4l2 device_caps field if supported.

parent 7c743a49
......@@ -577,6 +577,9 @@ Capture * qcap_driver_init( IPin *pOut, USHORT card )
goto error;
}
if (caps.capabilities & V4L2_CAP_DEVICE_CAPS)
caps.capabilities = caps.device_caps;
if (!(caps.capabilities & V4L2_CAP_VIDEO_CAPTURE))
{
WARN("Device does not support single-planar video capture.\n");
......
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