simon wood - 2009-08-26

Should use the 'enum' framesize call rather than polling at different resolutions, or at least confirm that the returned size is the same that you asked for.