Gst.Structure.prototype.fixate_field_boolean
function fixate_field_boolean(field_name:String, target:Boolean):Boolean { // Gjs wrapper for gst_structure_fixate_field_boolean() }
Fixates a Gst.Structure by changing the given field_name field to the given target boolean if that field is not fixed yet.
- field_name
a field in structure
- target
the target value of the fixation
- Returns
TRUE if the structure could be fixated