PadTemplate.newFromStaticPadTemplateWithGtype

gst.pad_template.PadTemplate newFromStaticPadTemplateWithGtype(gst.static_pad_template.StaticPadTemplate padTemplate, gobject.types.GType padType) static nothrow

Converts a #GstStaticPadTemplate into a #GstPadTemplate with a type.

Parameters

padTemplatethe static pad template
padTypeThe #GType of the pad to create

Returns

a new #GstPadTemplate.