ProxyPad#
Superclasses: Pad, Object, InitiallyUnowned, Object
Subclasses: GhostPad
- Constructors:
ProxyPad(**properties)
Methods#
- class ProxyPad
- classmethod chain_default(pad: Pad, parent: Object | None, buffer: Buffer) FlowReturn#
Invoke the default chain function of the proxy pad.
- classmethod 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
padorNonelist – the
BufferListto 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
GhostPadis the internally used pad of opposite direction, which is used to link to the target.
- classmethod 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, returnsGST_FLOW_ERRORif not.parent – the parent of
padoffset – The start offset of the buffer
size – The length of the buffer