Gst.Caps.prototype.remove_structure

function remove_structure(idx:Number):void {
    // Gjs wrapper for gst_caps_remove_structure()
}

removes the stucture with the given index from the list of structures contained in caps.

idx

Index of the structure to remove