Structure.fixateFieldNearestDouble

bool fixateFieldNearestDouble(string fieldName, double target)

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

Parameters

fieldNamea field in structure
targetthe target value of the fixation

Returns

true if the structure could be fixated