AppSink.setCaps

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.

class AppSink
void
setCaps

Parameters

caps Caps

caps to set

Meta