get_restriction


Description:

public Caps? get_restriction ()

Parameters:

this

a EncodingProfile

Returns:

The restriction Caps to apply before the encoder that will be used in the profile. The fields present in restriction caps are properties of the raw stream (that is before encoding), such as height and width for video and depth and sampling rate for audio. Does not apply to EncodingContainerProfile (since there is no corresponding raw stream). Can be null. Unref after usage.