Re: buggy v4l apps (was: VIDIOCSYNC and bad data)

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



Hi Tuukka,

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 have seen too many applications with this bug:
> avifile, camstream, effectv, gnomemeeting, gstreamer, motion, vic.

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
buffers". If the driver can't provide that, well, badluck. You're free
to implement a fallback mechanism for the GStreamer plugin, of course.
:).

Ronald

-- 
Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx>




[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