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. -justin