v4l2codecs: enumerate all possible resolutions
Some decoder may also allow to (down) scale the decoded video. Use VIDIOC_ENUM_FRAMESIZES iotcl to enumerate the possible output formats resolutions.
Edited by Nicolas Dufresne
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Some decoder may also allow to (down) scale the decoded video. Use VIDIOC_ENUM_FRAMESIZES iotcl to enumerate the possible output formats resolutions.