Gst.Element.prototype.sync_state_with_parent

function sync_state_with_parent():Boolean {
    // Gjs wrapper for gst_element_sync_state_with_parent()
}

Tries to change the state of the element to the same as its parent. If this function returns FALSE, the state of element is undefined.

Returns

TRUE, if the element's state could be synced to the parent's state. MT safe.