Re: V4L2 backwards compatability

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



Justin Schoeman (justin@xxxxxxxxxxxxxxxxxxxx):

> Billy Biggs wrote:
> >Gerd Knorr (kraxel@xxxxxxxxxxx):
> >
> >
> >>Sort of.  The buffer size is determined by the current video format at
> >>VIDIOCGMBUF time.  Which happens to be just the default
> >>(320x240xRGB24) for most v4l applications, because nobody calls
> >>VIDIOCSWIN before VIDIOCGMBUF ...
> >
> >
> >  Interesting.  Should I call VIDIOCSWIN before VIDIOCGMBUF ?
> 
> According to the strict letter of the law 
> (/usr/src/linux/Documentation/video4linux/API.html): Yes.
> 
> Due to historically bttv-only apps: No.

  Well, what do you know.  I'll update my code anyway then.

-- 
Billy Biggs
vektor@xxxxxxxxxxxx





[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