Gst.Caps.prototype.steal_structure

function steal_structure(index:Number):Gst.Structure {
    // Gjs wrapper for gst_caps_steal_structure()
}

Retrieves the structure with the given index from the list of structures contained in caps. The caller becomes the owner of the returned structure.

index

Index of the structure to retrieve

Returns

a pointer to the Gst.Structure corresponding to index.