ProxyPad#

class ProxyPad(**properties: Any)#

Superclasses: Pad, Object, InitiallyUnowned, Object

Subclasses: GhostPad

Constructors:

ProxyPad(**properties)

Methods#

class ProxyPad
classmethod chain_default(parent: Object | None, buffer: Buffer) FlowReturn#

Invoke the default chain function of the proxy pad.

Parameters:
  • parent – the parent of pad or None

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

classmethod chain_list_default(parent: Object | None, list: BufferList) FlowReturn#

Invoke the default chain list function of the proxy pad.

Parameters:
  • 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.

classmethod getrange_default(parent: Object, offset: int, size: int) Tuple[FlowReturn, Buffer]#

Invoke the default getrange function of the proxy pad.

Parameters:
  • 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:

parent – the parent of pad or None

Fields#

class ProxyPad
pad#
priv#