EncodingTarget.load
gstpbutils.encoding_target.EncodingTarget load(string name, string category = null)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.
Parameters
name | the name of the #GstEncodingTarget to load (automatically converted to lower case internally as capital letters are not valid for target names). |
category | the name of the target category, like #GST_ENCODING_CATEGORY_DEVICE. Can be null |
Returns
The #GstEncodingTarget if available, else null.
Throws
[ErrorWrap]