The profiles are a property of the codec, so it makes sense to export them through AVCodecDescriptors, not just the codec implementations.