On Friday 22 March 2002 12:22 am, Gerd Knorr wrote: > > To all but the last one, my ioctl function returns -EINVAL. > > And the problem is? xawtv searches for a format it can use, and it > finds one. Looks fine to me ... I think you misunderstood what I said. I said there is already a way for apps to try and get their "smartest" format from a v4l device. I used the dump to show that there is already an app out there that does this. There is no problem. Looks fine to me too. (out of curiousity, why does it try the lowest bit depths first? Is it strictly probing, or would it give a 12 bit scanning mode preference over a 24 bit one?)