get_codec_description


Description:


public string get_codec_description (Caps caps)

Returns a localised (as far as this is possible) string describing the media format specified in caps, for use in error dialogs or other messages to be seen by the user.

Should never return NULL unless caps is invalid.

Also see the convenience function add_codec_description_to_tag_list.

Parameters:

caps

the (fixed) Caps for which an format description is needed

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