Function gstreamer_pbutils::pb_utils_get_element_description[][src]

pub fn pb_utils_get_element_description(
    factory_name: &str
) -> Result<GString, BoolError>
Expand description

Returns a localised string describing the given element, for use in error dialogs or other messages to be seen by the user. Should never return NULL unless factory_name is invalid.

This function is mainly for internal use, applications would typically use gst_missing_plugin_message_get_description() to get a description of a missing feature from a missing-plugin message.

factory_name

the name of the element, e.g. “giosrc”

Returns

a newly-allocated description string, or NULL on error. Free string with g_free() when not needed any longer.