Re: v4l2 + kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Gerd Knorr wrote:

>  * What the select code is good for?
>

I'm not sure if you're referring to some specific code, or the feature in
V4L2 in general.. if the latter than this is something that's really needed
in V4L - the ability to select() on the file descriptor like any other
device to block until there's something to read (mmap capture complete).
Without this, integrating capture code into an application is either messy
or requires dedicated threads than can block on sync - select() is a MUCH
nicer way of doing it, and also allows V4L input to be integrated with other
IO in a single thread/process.

Ben






[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux