Re: Question regarding video_register_device()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>    	int type;       /* v4l1 */
>    	int type2;      /* v4l2 */
>  [...]
>  
>  But there are only type defines for v4l1 in videodev.h.

>  Should a driver put the same defines as for the v4l2 capabilities, ie.
>  #define V4L2_CAP_VIDEO_CAPTURE	0x00000001  /* Is a video capture device */
>  #define V4L2_CAP_VIDEO_OUTPUT	0x00000002  /* Is a video output device */
>  #define V4L2_CAP_VIDEO_OVERLAY	0x00000004  /* Can do video overlay */

Yes, please, althrough it isn't used right now.

Not sure yet what happens with that in the future.  In the long run I
plan to remove /proc/video and use a driverfs^Wsysfs class instead.

  Gerd

-- 
You can't please everybody.  And usually if you _try_ to please
everybody, the end result is one big mess.
				-- Linus Torvalds, 2002-04-20





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux