Structure.fixateFieldNearestInt

Fixates a GstStructure by changing the given field to the nearest integer to target that is a subset of the existing field.

class Structure
int
fixateFieldNearestInt
(
string fieldName
,
int target
)

Parameters

fieldName string

a field in structure

target int

the target value of the fixation

Return Value

Type: int

TRUE if the structure could be fixated

Meta