Tuukka Toivonen (tuukkat@xxxxxxxxxx): > On Mon, 4 Aug 2003, Ronald Bultje wrote: > > >On Mon, 2003-08-04 at 10:18, Tuukka Toivonen wrote: > >> please notice that this is BUGGY code. It doesn't work if the driver > >> provides only one buffer (which is specifically allowed by the API docs). > >I think it's valid behaviour for an application to expect/want more > >buffers, too. GStreamer nicely errors out with a "we want at least two > > Why do you think so? API.html says "The number of frames supported is > device dependent and may only be one" and the way my driver works, > more than one buffer would be just waste of memory. I think this is a result of the video4linux API being used for both webcams (like I assume your driver is for) and video devices. For video capture, if the driver isn't double buffering, it means you're dropping every second frame. For applications like gstreamer this is an error condition, so not really worth supporting. -Billy