string with [glib.global.gfree] when not needed any longer.
pbUtilsGetCodecDescription
fn
string pbUtilsGetCodecDescription(gst.caps.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 [gstpbutils.global.pbUtilsAddCodecDescriptionToTagList].
Parameters
caps | the (fixed) #GstCaps for which an format description is needed |
Returns
a newly-allocated description string, or NULL on error. Free