EncodingTarget.addProfile

Adds the given profile to the target. Each added profile must have a unique name within the profile.

The target will steal a reference to the profile. If you wish to use the profile after calling this method, you should increase its reference count.

class EncodingTarget
bool
addProfile

Parameters

profile gstpbutils.encoding_profile.EncodingProfile

the #GstEncodingProfile to add

Return Value

Type: bool

true if the profile was added, else false.