set_restriction


Description:

public void set_restriction (owned Caps? restriction)

Set the restriction Caps to apply before the encoder that will be used in the profile.

See get_restriction for more about restrictions. Does not apply to EncodingContainerProfile.

Parameters:

this

a EncodingProfile

restriction

the restriction to apply