ProxyPad
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.
- 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
orNone
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
, returnsGST_FLOW_ERROR
if not.parent – the parent of
pad
offset – The start offset of the buffer
size – The length of the buffer