AppSrc.setCaps

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.

class AppSrc
void
setCaps
()

Parameters

caps gst.caps.Caps

caps to set