Structure.fixateFieldNearestDouble

Fixates a gstreamer.Structure by changing the given field to the nearest double to target that is a subset of the existing field.

class Structure
bool
fixateFieldNearestDouble
(
string fieldName
,
double target
)

Parameters

fieldName string

a field in structure

target double

the target value of the fixation

Return Value

Type: bool

TRUE if the structure could be fixated