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

nameTemplatethe name template.
directionthe #GstPadDirection of the template.
presencethe #GstPadPresence of the pad.
capsa #GstCaps set for the template.
padTypeThe #GType of the pad to create

Returns

a new #GstPadTemplate.