MiniObject.lock

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

class MiniObject
bool
lock

Parameters

flags GstLockFlags

Return Value

Type: bool

TRUE if object could be locked.