Gst.Event.new_tag
function new_tag(taglist:Gst.TagList):Gst.Event { // Gjs wrapper for gst_event_new_tag() }
Generates a metadata tag event from the given taglist.
The scope of the taglist specifies if the taglist applies to the complete medium or only to this specific stream. As the tag event is a sticky event, elements should merge tags received from upstream with a given scope with their own tags with the same scope and create a new tag event from it.
- taglist
metadata list. The event will take ownership of the taglist.
- Returns
a new Gst.Event