Abraham van der Merwe wrote:
You can't. The type is not a bitfield:
struct v4l2_capability
#define V4L2_TYPE_CAPTURE   0

I suspect you're using an outdated v4l2 spec, i.e. from before the re-design. Latest videodev2.h lists types as bitfield:

/* Values for 'capabilities' field */
#define V4L2_CAP_VIDEO_CAPTURE  0x00000001
#define V4L2_CAP_VIDEO_OUTPUT   0x00000002
#define V4L2_CAP_VIDEO_OVERLAY  0x00000004
#define V4L2_CAP_VBI_CAPTURE    0x00000010
/*...*/

See also the current v4l2 draft at http://bytesex.org/v4l/spec/

bye,
-tom


-- video4linux-list mailing list Unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/video4linux-list

Reply via email to