GstPluginDesc.majorVersion

the major version number of core that plugin was compiled for

struct GstPluginDesc
int majorVersion;