Re: Re: sync: input/output error

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



On 2001.11.01 14:35:32 +0100 Gerd Knorr wrote:
> With bttv 0.8.x this happens if the capture request timed out for some
> reason, i.e. it _really_ is some I/O problem.  You can't do anything
> about it, your frame is lost in cyberspace ...

It actually happens in BTTV-0.7.x. I'll try to look in the logs after I've
installed the new kernel (I'm currently on 0.8.x/2.4.12), but as far as I
can remember, it didn't give any error. The thing is, it always gives this
error for the very first frame I try to capture. So either everything goes
well (80-90%), or the first buffer's VIDIOCSYNC gives errno = EIOERR
(10-20%).

> >  One last thing, do I need to do ioctl(fd, VIDIOCMCAPTURE, &1); to
> > capture,  or is VIDIOCMCAPTURE only useful for enabling/disabling
> > the video overlay display?
> 
> VIDIOCMCAPTURE queues requests, VIDIOCSYNC dequeues the finished ones.

I actually meant VIDIOCCAPTURE, Rofl already mentioned that this only
control overlay and has not that much to do with capture....

Ronald

-- 
-   .-.
-   /V\    | Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx>
-  // \\   | Running: Linux 2.4.4 and OpenBSD 2.8
- /(   )\  | http://ronald.bitfreak.net/
-  ^^-^^





[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