Gst.Caps.prototype.merge_structure

function merge_structure(structure:Gst.Structure):Gst.Caps {
    // Gjs wrapper for gst_caps_merge_structure()
}

Appends structure to caps if its not already expressed by caps.

structure

the Gst.Structure to merge

Returns

the merged caps.