Continuously filled buffers?
- From: Ralph Majer <majer (at) vitracom.com>
- Date: Wed, 08 Mar 2006 13:54:55 +0100
Hi all,
I'm currently writing an application which captures from an bttv grabber
using userptr's (V4L2).
Now I have this problem: When I enqueue three buffers and turn on
streaming they will be filled with the next three frames. But when I not
dequeue them and enqueue empty ones continously, these three frames
could be very old.
Is it possible to set a flag or something else, that the bttv grabber is
always filling up these buffers with the latest frames until I dequeue them?
The only possible way I actually see is using an thread which
continuously grabs images in the background. But I want to avoid threads
if possible. How do you ensure always getting the latest frames only?
Best regards
Ralph Majer
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list