Gst.Structure.prototype.fixate_field_nearest_double
function fixate_field_nearest_double(field_name:String, target:Number):Boolean { // Gjs wrapper for gst_structure_fixate_field_nearest_double() }
Fixates a Gst.Structure by changing the given field to the nearest double to target that is a subset of the existing field.
- field_name
a field in structure
- target
the target value of the fixation
- Returns
TRUE if the structure could be fixated