Re: [PATCH] Fix VIDIOC_QBUF compat ioctl32

2010-01-26 Thread Arnaud Patard
Stefan Kost writes: Hi, > Arnaud Patard wrote: >> When using VIDIOC_QBUF with memory type set to V4L2_MEMORY_MMAP, the >> v4l2_buffer buffer gets unmodified on drivers like uvc (well, only >> bytesused field is modified). Then some apps like gstreamer are reusing >&g

[PATCH] Fix VIDIOC_QBUF compat ioctl32

2010-01-25 Thread Arnaud Patard
rce busy The easy solution is to read length and m.offset in get_v4l2_buffer32(). Signed-off-by: Arnaud Patard --- --- drivers/media/video/v4l2-compat-ioctl32.c |5 5 + 0 - 0 ! 1 file changed, 5 insertions(+) Index: linux-2.6/drivers/med