get_source_description


Description:


public string get_source_description (string protocol)

Returns a localised string describing a source 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 missing_plugin_message_get_description to get a description of a missing feature from a missing-plugin message.

Parameters:

protocol

the protocol the source 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.


Namespace: Gst.PbUtils



2022 vala-language.org