Gst.Bin.prototype.iterate_sorted

function iterate_sorted():Gst.Iterator {
    // Gjs wrapper for gst_bin_iterate_sorted()
}

Gets an iterator for the elements in this bin in topologically sorted order. This means that the elements are returned from the most downstream elements (sinks) to the sources.

This function is used internally to perform the state changes of the bin elements and for clock selection.

MT safe. Caller owns returned value.

Returns

a Gst.Iterator of Gst.Element, or NULL