Function gstreamer::main_executable_path[][src]

pub fn main_executable_path() -> Result<GString, BoolError>
This is supported on crate feature v1_14 only.
Expand description

This helper is mostly helpful for plugins that need to inspect the folder of the main executable to determine their set of features.

When a plugin is initialized from the gst-plugin-scanner external process, the returned path will be the same as from the parent process.

Returns

The path of the executable that initialized GStreamer, or None if it could not be determined.