Gst.TagList.prototype.merge

function merge(list2:Gst.TagList, mode:Gst.TagMergeMode):Gst.TagList {
    // Gjs wrapper for gst_tag_list_merge()
}

Merges the two given lists into a new list. If one of the lists is NULL, a copy of the other is returned. If both lists are NULL, NULL is returned.

Free-function: gst_tag_list_unref

list2

second list to merge

mode

the mode to use

Returns

the new list