Function gstreamer_pbutils::functions::pb_utils_get_sink_description [−][src]
pub fn pb_utils_get_sink_description(
protocol: &str
) -> Result<GString, BoolError>
Expand description
Returns a localised string describing a sink element handling the protocol
specified in protocol
, for use in error dialogs or other messages to be
seen by the user. Should never return NULL unless protocol
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.
protocol
the protocol the sink element needs to handle, e.g. “http”
Returns
a newly-allocated description string, or NULL on error. Free
string with g_free()
when not needed any longer.