Gst.ProxyPad¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
pad |
r |
Class Details¶
- class Gst.ProxyPad(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod chain_default(pad, parent, buffer)[source]¶
- Parameters:
pad (
Gst.Pad
) – a sinkGst.Pad
, returnsGst.FlowReturn.ERROR
if not.parent (
Gst.Object
orNone
) – the parent of pad orNone
buffer (
Gst.Buffer
) – theGst.Buffer
to send, returnGst.FlowReturn.ERROR
if not.
- Returns:
a
Gst.FlowReturn
from the pad.- Return type:
Invoke the default chain function of the proxy pad.
- classmethod chain_list_default(pad, parent, list)[source]¶
- Parameters:
pad (
Gst.Pad
) – a sinkGst.Pad
, returnsGst.FlowReturn.ERROR
if not.parent (
Gst.Object
orNone
) – the parent of pad orNone
list (
Gst.BufferList
) – theGst.BufferList
to send, returnGst.FlowReturn.ERROR
if not.
- Returns:
a
Gst.FlowReturn
from the pad.- Return type:
Invoke the default chain list function of the proxy pad.
- classmethod getrange_default(pad, parent, offset, size)[source]¶
- Parameters:
pad (
Gst.Pad
) – a srcGst.Pad
, returnsGst.FlowReturn.ERROR
if not.parent (
Gst.Object
) – the parent of padoffset (
int
) – The start offset of the buffersize (
int
) – The length of the buffer
- Returns:
a
Gst.FlowReturn
from the pad.- buffer:
a pointer to hold the
Gst.Buffer
, returnsGst.FlowReturn.ERROR
ifNone
.
- Return type:
(
Gst.FlowReturn
, buffer:Gst.Buffer
)
Invoke the default getrange function of the proxy pad.
- classmethod iterate_internal_links_default(pad, parent)[source]¶
- Parameters:
parent (
Gst.Object
orNone
) – the parent of pad orNone
- Returns:
a
Gst.Iterator
ofGst.Pad
, orNone
if pad has no parent. Unref each returned pad withGst.Object.unref
().- Return type:
Gst.Iterator
orNone
Invoke the default iterate internal links function of the proxy pad.
- get_internal()[source]¶
- Returns:
the target
Gst.ProxyPad
, can beNone
. Unref target pad after usage.- Return type:
Gst.ProxyPad
orNone
Get the internal pad of self. Unref target pad after usage.
The internal pad of a
Gst.GhostPad
is the internally used pad of opposite direction, which is used to link to the target.