Function gstreamer_pbutils::functions::pb_utils_add_codec_description_to_tag_list [−][src]
pub fn pb_utils_add_codec_description_to_tag_list(
taglist: &mut TagListRef,
caps: &CapsRef
) -> Result<(), BoolError>
Expand description
Adds a codec tag describing the format specified by caps
to taglist
.
taglist
codec_tag
a GStreamer codec tag such as GST_TAG_AUDIO_CODEC
,
GST_TAG_VIDEO_CODEC
or GST_TAG_CODEC
. If none is specified,
the function will attempt to detect the appropriate category.
caps
the (fixed) gst::Caps
for which a codec tag should be added.
Returns
TRUE if a codec tag was added, FALSE otherwise.