Gst.MiniObject.prototype.lock

function lock(flags:Gst.LockFlags):Boolean {
    // Gjs wrapper for gst_mini_object_lock()
}

Lock the mini-object with the specified access mode in flags.

flags

Gst.LockFlags

Returns

true if object could be locked.