list_replace


Description:

[ CCode ( cname = "gst_tag_list_replace" ) ]
[ Version ( replacement = "TagList.replace" , since = "1.16" ) ]
public bool list_replace (ref TagList? old_taglist, TagList? new_taglist)

Modifies a pointer to a TagList to point to a different TagList.

The modification is done atomically (so this is useful for ensuring thread safety in some cases), and the reference counts are updated appropriately (the old tag list is unreffed, the new is reffed).

Either new_taglist or the TagList pointed to by old_taglist may be null.

Parameters:

old_taglist

pointer to a pointer to a TagList to be replaced.

new_taglist

pointer to a TagList that will replace the tag list pointed to by old_taglist.

Returns:

true if new_taglist was different from old_taglist


Namespace: Gst.Tags
Package: gstreamer-1.0