Function gstreamer::main_executable_path

source ·
pub fn main_executable_path() -> Result<GString, BoolError>
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.