Function gstreamer_pbutils::functions::pb_utils_get_codec_description [−][src]
pub fn pb_utils_get_codec_description(
caps: &CapsRef
) -> Result<GString, BoolError>
Expand description
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
gst_pb_utils_add_codec_description_to_tag_list().
caps
the (fixed) gst::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.