AppSink.setCaps

void setCaps(gst.caps.Caps caps = null)

Set the capabilities on the appsink element. This function takes a copy of the caps structure. After calling this method, the sink will only accept caps that match caps. If caps is non-fixed, or incomplete, you must check the caps on the samples to get the actual used caps.

Parameters

capscaps to set