libv4l*: add V4L2_CAP_DEVICE_CAPS support.
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 10 Jun 2012 13:04:39 +0000 (15:04 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Sun, 10 Jun 2012 13:04:39 +0000 (15:04 +0200)
commit5e92fea7dcc075ab66a4473ac5f514cff0e17e8d
treeae312485aec619b8b1bce635ededfa448b43da07
parent96f546f54861c2e444a4032b2d14adc58b4b7470
libv4l*: add V4L2_CAP_DEVICE_CAPS support.

If V4L2_CAP_DEVICE_CAPS is set, then use device_caps instead of capabilities
since that gives the exact capabilities of the device node.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
lib/libv4l1/libv4l1.c
lib/libv4l2/libv4l2.c
lib/libv4lconvert/libv4lconvert.c