Lock the mini-object with the specified access mode in flags.
GstLockFlags
TRUE if object could be locked.
Lock the mini-object with the specified access mode in flags.