> 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. Ok. > (out of curiousity, why does it try the lowest bit depths first? ??? Sorry, I don't get what you are asking. xawtv should try the 15/16 bpp formats only if the X-Server where it wants to display the images runs at 15/16 bpp. > Is it strictly probing, or would it give a 12 bit scanning mode > preference over a 24 bit one?) It simply walks the list of conversion functions it has and takes the first match. The ordering of the list entries is the only way to give priorities to the different formats. Gerd -- #include </dev/tty>