This doesn't really help your case, but to other people...

Thomas wrote:
>VIDIOCMCAPTURE( 0 )
>while()
>{
>       VIDIOCMCAPTURE( 1 )
>       VIDIOCSYNC( 0 )
>
>       VIDIOCMCAPTURE( 0 )
>       VIDIOCSYNC( 1 )
>}

please notice that this is BUGGY code. It doesn't work if the driver
provides only one buffer (which is specifically allowed by the API docs).
I have seen too many applications with this bug:
avifile, camstream, effectv, gnomemeeting, gstreamer, motion, vic.

For motion a fix patch is available from my homepage.


--
video4linux-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/video4linux-list

Reply via email to