Trait gstreamer::prelude::PluginFeatureExt[][src]

pub trait PluginFeatureExt: 'static {
    fn check_version(
        &self,
        min_major: u32,
        min_minor: u32,
        min_micro: u32
    ) -> bool;
fn plugin(&self) -> Option<Plugin>;
fn plugin_name(&self) -> Option<GString>; }
Expand description

Required methods

Checks whether the given plugin feature is at least the required version

min_major

minimum required major version

min_minor

minimum required minor version

min_micro

minimum required micro version

Returns

true if the plugin feature has at least the required version, otherwise false.

Get the plugin that provides this feature.

Returns

the plugin that provides this feature, or None. Unref with gst_object_unref() when no longer needed.

Get the name of the plugin that provides this feature.

Returns

the name of the plugin that provides this feature, or None if the feature is not associated with a plugin.

Implementors