In lists.linux.video4linux, you wrote: > On Tue, 2002-03-12 at 19:06, Gerd Knorr wrote: > > Ronald Bultje wrote: > > > just a minor point of critique on v4l2 - why isn't there a field '__u32 > > > size' in the struct v4l2_requestbuffers? > > > > Because there is a length field in struct v4l2_buffer. That one is > > filled by the driver and the application should use it together with > > the offset to mmap() the buffer. > > But how should I deal with user-settable buffer sizes? You can't. > In the zoran driver, the user can define a specific buffersize > manually, What this is good for? If the application sets image size and quality first the driver should be able to figure a reasonable buffer size. Why a application should pick another one? Gerd -- #include </dev/tty>