Re: Re: v4l2 + select() + read()

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



Gerd Knorr wrote:

> So IMHO it would be useful to either:
>   - require driver do support *both* non-blocking I/O and partial read()s
> or
>   - allow drivers to support only blocking, full-frame read()s.

Understood.

I'd still vote for the non-blocking support on grounds of select based IO being
highly desireable. However I'd note it's only going to useful for portable
applications if the video API guarantees that *all* drivers will support it.

Ideally bttv would implement non-blocking read by direct dma if there's a
pending read, and bounce-buffer if not, but I realize that's in the area of
diminishing returns. Purely personally I'm happy with mmap, and just miss
select!

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