I would like to see an option for libgpod to provide a list of video formats supported by an apple device. Attached you'll find a path which adds this functionally.
All info is extracted from SysInfoExtended only. No fallback is provided.
It will supply a GList of all included supported formats. Formats which include a list of different profiles are included as separate formats per profile.
Existing code has hardly been touched, with the exception of renaming function "*parse_one_formats_list" to "*parse_image_format_list", two minor possible bugs and some styling.
Since this is the first time I ever touched C, this is a learning project for me. Please provide feedback on big and small issues.