EncodingProfile.find

gstpbutils.encoding_profile.EncodingProfile find(string targetname, string profilename = null, string category = null)

Find the #GstEncodingProfile with the specified name and category.

Parameters

targetnameThe name of the target
profilenameThe name of the profile, if null provided, it will default to the encoding profile called default.
categoryThe target category. Can be null

Returns

The matching #GstEncodingProfile or null.