AppSrc.setCaps
void setCaps(gst.caps.Caps caps = null)Set the capabilities on the appsrc element. This function takes a copy of the caps structure. After calling this method, the source will only produce caps that match caps. caps must be fixed and the caps on the buffers must match the caps or left NULL.
Parameters
caps | caps to set |