Structure.fixateFieldNearestInt

Fixates a gstreamer.Structure 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 Value

Type: bool

TRUE if the structure could be fixated