Re: [Linux-uvc-devel] Read() [Was: Small fix and help offered]
Linux UVC driver and tools
Brought to you by:
pinchartl
|
From: Luc S. <lu...@sa...> - 2006-03-12 01:32:09
|
On Fri, Mar 10, 2006 at 11:00:19PM +0100, Per Zetterlund wrote:
> Hi all,
>
> On 2/27/06, Laurent Pinchart <lau...@sk...> wrote:
> >
> > You could also implement the V4L2 read() method as it's currently not
> > supported.
> >
>
> Is there any simple V4L viewer that supports read() that I can use when
> doing this?
You can use capture.c that comes with v4l2 specifications, you will found it
on the wiki. When this is working, you can use for example ekiga or xawtv to
test it with a real application, but to be sure that the read method is
called just desactivate the streaming mode in:
cap->capabilities = V4L2_CAP_VIDEO_CAPTURE
/* | V4L2_CAP_STREAMING */;
Luc
|