Gst.StaticPadTemplate

Fields

Name Type Access Description
direction Gst.PadDirection r/w the direction of the template
name_template str r/w the name of the template
presence Gst.PadPresence r/w the presence of the template
static_caps Gst.StaticCaps r/w the caps of the template.

Methods

  get ()
  get_caps ()

Details

class Gst.StaticPadTemplate

Structure describing the Gst.StaticPadTemplate.

get()[source]
Returns:a new Gst.PadTemplate.
Return type:Gst.PadTemplate or None

Converts a Gst.StaticPadTemplate into a Gst.PadTemplate.

get_caps()[source]
Returns:the Gst.Caps of the static pad template. Unref after usage. Since the core holds an additional ref to the returned caps, use gst_caps_make_writable() on the returned caps to modify it.
Return type:Gst.Caps

Gets the capabilities of the static pad template.