set_caps


Description:

public void set_caps (Caps? caps)

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:

this

a Sink

caps

caps to set