PadTemplate.newWithGtype

Creates a new pad template with a name according to the given template and with the given arguments.

Parameters

nameTemplate string

the name template.

direction gst.types.PadDirection

the #GstPadDirection of the template.

presence gst.types.PadPresence

the #GstPadPresence of the pad.

caps gst.caps.Caps

a #GstCaps set for the template.

padType gobject.types.GType

The #GType of the pad to create

Return Value

Type: gst.pad_template.PadTemplate

a new #GstPadTemplate.