PadTemplate.this

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

  1. this(void* ptr, Flag!"Take" take)
  2. this(string nameTemplate, gst.types.PadDirection direction, gst.types.PadPresence presence, gst.caps.Caps caps)

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.

Return Value

a new #GstPadTemplate.