Function gstreamer_pbutils::functions::pb_utils_get_encoder_description[][src]

pub fn pb_utils_get_encoder_description(
    caps: &CapsRef
) -> Result<GString, BoolError>
Expand description

Returns a localised string describing an encoder for the format specified in caps, for use in error dialogs or other messages to be seen by the user. Should never return NULL unless factory_name or caps are 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.

caps

the (fixed) gst::Caps for which an encoder description is needed

Returns

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