PadTemplate.newWithGtype
gst.pad_template.PadTemplate newWithGtype(string nameTemplate, gst.types.PadDirection direction, gst.types.PadPresence presence, gst.caps.Caps caps, gobject.types.GType padType)Creates a new pad template with a name according to the given template and with the given arguments.
Parameters
nameTemplate | the name template. |
direction | the #GstPadDirection of the template. |
presence | the #GstPadPresence of the pad. |
caps | a #GstCaps set for the template. |
padType | The #GType of the pad to create |
Returns
a new #GstPadTemplate.