Ronald Bultje wrote: > On Thu, 2002-02-21 at 19:35, Gerd Knorr wrote: > > > I'm talking about the API itself, not the text on the API.html page. > > > Maybe I should update my Programming-FAQ (in the xawtv tarball), put > > > it into API.html and mail Alan a diff ... > > > > Ok, here we go. Comments? > > If we're discussing this anyway... ;-) > > What I've found confusing about the API.html is that it describes > VIDIOC[SG]WIN and VIDIOCCAPTURE as "capture", while it would be more > appropriate to call this "video overlay display" or so, because I've > (for quite some time) thought that you needed to do VIDIOCCAPTURE to > start grabbing frames (which is what I think of when someone says > 'capture'). VIDIOCCAPTURE yes, VIDIOC[SG]WIN no. The later is used for *both* video overlay and frame capture via read(). Ok, looks like the whole document should have a review ... Gerd -- #define ENOCLUE 125 /* userland programmer induced race condition */