Hi, On Tuesday 08 June 2010 02:09:39 linux newbie wrote: > Hi, > > I am using linux 2.6.26.3. I connected "microsoft live cam" and its > max supported resolution is 1280x800. If I use VIDIOC_G_FMT, > fmt.fmt.pix.width, fmt.fmt.pix.height returns 640x480. > > How to get the maximum supported resolution?? You can use VIDIOC_ENUM_FRAMESIZES to enumeration all the supported resolutions. -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html