Hi,

On 11/08/2009 10:56 AM, Németh Márton wrote:
Hi,

Hans de Goede wrote:
[snip]

About the usb control msg errors, I don't think they are related to this issue 
at all, no real
world app ever does a streamon and an mmap at the same time. As said if we 
could serialize mmap and
ioctl at a high enough level, things would be fine too.

I am using http://moinejf.free.fr/svv.c . In the start_capturing() function it 
calls the
VIDIOC_STREAMON ioctl in case of memory mapped mode. Is this wrong? Or do you 
mean under
"at the same time" that VIDIOC_STREAMON and mmap() is called from different 
tasks/threads?


Yes from 2 different threads, which are both the stream owner (so operating on 
the same FD).

Regards,

Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to