PadTemplate.newFromStaticPadTemplateWithGtype
gst.pad_template.PadTemplate newFromStaticPadTemplateWithGtype(gst.static_pad_template.StaticPadTemplate padTemplate, gobject.types.GType padType)Converts a #GstStaticPadTemplate into a #GstPadTemplate with a type.
Parameters
padTemplate | the static pad template |
padType | The #GType of the pad to create |
Returns
a new #GstPadTemplate.