Re: [V4L] Some thoughts about the current v4l <-> v4l2 discussion

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



Gerd Knorr wrote:
> 
> > > The
> > > discussion always states that the format of the capture should
> > > be maintained with every open. But what about the other
> > > parameters available?
> >
> > Most of them need to be per-open too.  Looks like I should go throuth
> > the API and write it down...
> 
> Very first draft available at:
>         http://www.strusel007.de/linux/bttv/multiple-opens.html
> 
> Comments welcome.
> 
>   Gerd

I like it.  Just add a little clause for backwards compatibility:

The driver will store the results of the last successfult S_FMT
globally, and apply this when an open does not do an S_FMT prior to
STREAMON.

This will fix things like "vctrl; vcat", which rely on two separate
opens, but mean the same thing.

-justin





[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