Justin Schoeman wrote:
>
> Kali Griffin wrote:
> >
>
> > //Capture Loop
>
> Before the loop queue both buffers with CMCAPTURE.
>
> > ioctl(fd,VIDIOCSYNC, &ONE);
> > <memcpy buffer 1>
> > ioctl(fd,VIDIOCMCAPTURE, *video_mmap);
> > ioctl(fd,VIDIOCSYNC, &TWO);
> > <memcpy buffer 2>
> > ioctl(fd,VIDIOCMCAPTURE, *video_mmap);
>
> Should do the trick (but remeber to fix the frame value in video_mmap).
>
> -justin
>
Hi !
I've edited and uploaded that example you sent to us Justin. Added some
comments .
URL:
http://planeta.terra.com.br/informatica/gleicon/video4linux/videojustin.c
regards
--
Gleicon S. Moraes
Writing about music is like dancing about architecture.
-- Frank Zappa
_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list