pbUtilsAddCodecDescriptionToTagList

Adds a codec tag describing the format specified by caps to taglist.

bool
pbUtilsAddCodecDescriptionToTagList

Parameters

taglist gst.tag_list.TagList

a #GstTagList

codecTag string

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 gst.caps.Caps

the (fixed) #GstCaps for which a codec tag should be added.

Return Value

Type: bool

TRUE if a codec tag was added, FALSE otherwise.