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
bool
fixateFieldNearestInt
(
string fieldName
,
int target
)

Parameters

fieldName string

a field in @structure

target int

the target value of the fixation

Return: %TRUE if the structure could be fixated

Meta