pbUtilsAddCodecDescriptionToTagList
fn
bool pbUtilsAddCodecDescriptionToTagList(gst.tag_list.TagList taglist, string codecTag, gst.caps.Caps caps)Adds a codec tag describing the format specified by caps to taglist.
Parameters
taglist | a #GstTagList |
codecTag | 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) #GstCaps for which a codec tag should be added. |
Returns
TRUE if a codec tag was added, FALSE otherwise.