Re: sync: input/output error

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



Hi!

On Fri, 2 Nov 2001, Nemosoft Unv. wrote:
> > VIDIOCMCAPTURE(i) requests the next available TV frame to be captured to
> > buffer[i]. You must call VIDIOCMCAPTURE for every frame you want. As
> > VIDIOCMCAPTURE returns immediately a queue of several requested frames
> > may be built. 
> 
> I think this is only true for V4L2...

So, what do you expect for V4L1?

I wrote "*may* be built". If a driver can't accept a capture request at a
certain moment it is its responsibility to reject that VIDIOCMCAPTURE
(with an appropriate error code). And if a driver delays the return from
VIDIOCMCAPTURE until that frame is completely captured, well.... bad luck
for him!
On the other hand, if a driver offers more than one capture buffer it
*must* be able to queue capture requests. Otherwise two or more buffers
would be rather senseless.
I can't see why this should be against V4L1 rules.


Bye,
     Rolf






[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