Gst.Registry.prototype.check_feature_version
function check_feature_version(feature_name:String, min_major:Number, min_minor:Number, min_micro:Number):Boolean { // Gjs wrapper for gst_registry_check_feature_version() }
Checks whether a plugin feature by the given name exists in registry and whether its version is at least the version required.
- feature_name
the name of the feature (e.g. "oggdemux")
- min_major
the minimum major version number
- min_minor
the minimum minor version number
- min_micro
the minimum micro version number
- Returns
#TRUE if the feature could be found and the version is the same as the required version or newer, and #FALSE otherwise.