Re: Electronic-Design ANDI - xawtv debugging

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



Hi Gerd & all,

On Tue, 2003-02-11 at 13:30, Gerd Knorr wrote:
> Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx> writes:
> > Gerd, should xawtv be protected against moronic driver programmers like
> > me by checking whether nbuf is zero in mm_queue() (or maybe in
> > v4l_open()) in libng/plugins/drv-v4l.c?
> 
> This way maybe?
[..]
> +
> +    /* buffers available ? */
> +    if (h->mbuf.frames < 1)
> +	return -1;

Looks good. Thanks. :-).

Ronald

-- 
Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx>
Linux Video/Multimedia developer





[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