Gst.Caps.prototype.set_value

function set_value(field:String, value:GObject.Value):void {
    // Gjs wrapper for gst_caps_set_value()
}

Sets the given field on all structures of caps to the given value. This is a convenience function for calling Gst.set_value on all structures of caps.

field

name of the field to set

value

value to set the field to