EncodingTarget.load

Searches for the #GstEncodingTarget with the given name, loads it and returns it.

If the category name is specified only targets from that category will be searched for.

class EncodingTarget
static
load
(
string name
,
string category = null
)

Parameters

name string

the name of the #GstEncodingTarget to load (automatically converted to lower case internally as capital letters are not valid for target names).

category string

the name of the target category, like #GST_ENCODING_CATEGORY_DEVICE. Can be null

Return Value

Type: gstpbutils.encoding_target.EncodingTarget

The #GstEncodingTarget if available, else null.