Re: mmap failure with libv4l2..
Florian Echtler <[email protected]> Tue, 30 Jun 2009 19:56:25 +0200
| Newsgroups | gmane.linux.drivers.spca50x.devel |
|---|---|
| Message-ID | <1246384585.31166.27.camel@pancake> |
Hello Hans, > The issue is that you pass in your own calculated size for the mmap > instead of the size indicated by the VIDIOC_REQBUFS response, > this causes libv4l to not recognize this as a request to mmap the > emulated buffer (the real buffers are still jpeg ofcourse, libv4l > does a conversion to yuv420 to the emulated buffer on a dqbuf call). many thanks - I didn't realize that this could be the reason. Now it's working as expected :-) @spca-list: Sorry for bothering you, false alarm. Yours, Florian -- 0666 - Filemode of the Beast ------------------------------------------------------------------------------