ProxyPad

class ProxyPad(**properties: Any)

Superclasses: Pad, Object, InitiallyUnowned, Object

Subclasses: GhostPad

Constructors:

ProxyPad(**properties)

Methods

class ProxyPad
chain_default(pad: Pad, parent: Object | None, buffer: Buffer) FlowReturn

Invoke the default chain function of the proxy pad.

Parameters:
  • pad – a sink Pad, returns GST_FLOW_ERROR if not.

  • parent – the parent of pad or None

  • buffer – the Buffer to send, return GST_FLOW_ERROR if not.

chain_list_default(pad: Pad, parent: Object | None, list: BufferList) FlowReturn

Invoke the default chain list function of the proxy pad.

Parameters:
  • pad – a sink Pad, returns GST_FLOW_ERROR if not.

  • parent – the parent of pad or None

  • list – the BufferList to send, return GST_FLOW_ERROR if not.

get_internal() ProxyPad | None

Get the internal pad of pad. Unref target pad after usage.

The internal pad of a GhostPad is the internally used pad of opposite direction, which is used to link to the target.

getrange_default(pad: Pad, parent: Object, offset: int, size: int) tuple[FlowReturn, Buffer]

Invoke the default getrange function of the proxy pad.

Parameters:
  • pad – a src Pad, returns GST_FLOW_ERROR if not.

  • parent – the parent of pad

  • offset – The start offset of the buffer

  • size – The length of the buffer

Invoke the default iterate internal links function of the proxy pad.

Parameters:
  • pad – the Pad to get the internal links of.

  • parent – the parent of pad or None

Fields

class ProxyPad
pad
priv