85518e7cca
Improve compatibility with older versions of the api by not requiring V4L2_CAP_DEVICE_CAPS. If we don't have this, we fall back to using the capabilities member for the whole device instead of the device_caps member for the currently selected subdevice. Just like we would do if the device would not support this. The new device_caps field was introduced with Linux 3.3.