set_caps


Description:

public void set_caps (Caps? caps)

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:

this

a Src

caps

caps to set