EncodingProfile.setRestriction
void setRestriction(gst.caps.Caps restriction = null)Set the restriction #GstCaps to apply before the encoder that will be used in the profile. See [gstpbutils.encoding_profile.EncodingProfile.getRestriction] for more about restrictions. Does not apply to #GstEncodingContainerProfile.
Parameters
restriction | the restriction to apply |