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? In the zoran driver, the user can define a specific buffersize manually, this isn't something that is decided only by the driver (of course, the driver can suggest a default buffersize value). Ronald -- - .-. - /V\ | Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx> - // \\ | Running: Linux 2.4.17-XFS and OpenBSD 3.0 - /( )\ | http://ronald.bitfreak.net/ - ^^-^^