Creates a new pad template with a name according to the given template and with the given arguments. This functions takes ownership of the provided caps, so be sure to not use them afterwards.
the name template.
the GstPadDirection of the template.
the GstPadPresence of the pad.
a GstCaps set for the template. The caps are taken ownership of.
ConstructionException GTK+ fails to create the object.
See Implementation
Creates a new pad template with a name according to the given template and with the given arguments. This functions takes ownership of the provided caps, so be sure to not use them afterwards.