| --- a/extras/v4l_id/v4l_id.c 2009-12-03 04:45:03.000000000 -0800 |
| +++ b/extras/v4l_id/v4l_id.c 2014-06-05 10:08:37.975863570 -0700 |
| -#include <linux/videodev.h> |
| #include <linux/videodev2.h> |
| int main (int argc, char *argv[]) |
| - struct video_capability v1cap; |
| struct v4l2_capability v2cap; |
| if ((v2cap.capabilities & V4L2_CAP_RADIO) > 0) |
| - } else if (ioctl (fd, VIDIOCGCAP, &v1cap) == 0) { |
| - printf("ID_V4L_VERSION=1\n"); |
| - printf("ID_V4L_PRODUCT=%s\n", v1cap.name); |
| - printf("ID_V4L_CAPABILITIES=:"); |
| - if ((v1cap.type & VID_TYPE_CAPTURE) > 0) |
| - if ((v1cap.type & VID_TYPE_OVERLAY) > 0) |
| - printf("video_overlay:"); |
| - if ((v1cap.type & VID_TYPE_TUNER) > 0) |