[Ffmpeg-devel] [PATCH] video4linux2 input
Mon Jan 30 15:35:09 CET 2006
On Mon, 2006-01-30 at 15:04 +0100, Luca Abeni wrote:
> I think my video4linux2 input format is ready for inclusion. It still
> has some unimplemented features (for example, read() and user-pointer
> based input still have to be implemented, and QBUF/DQBUF failures are
> currently not handled) but it works fairly well (for me, it works better
> than the current video4linux input), and I think missing features can be
> added later.
Go Luca! ;-)
> - changed some constants from "#define" to "enum"
> - changed the code to use as many video buffers as possible
Just a little nitpick:
-#define DESIRED_VIDEO_BUFFERS 256
+static const int DESIRED_VIDEO_BUFFERS = 256;
IIRC there is actually something like that in de v4l2 header files that
says how many video buffers you can request at max.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2771 bytes
Desc: not available
More information about the ffmpeg-devel