Gst.PadProbeInfo¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
data |
r/w |
type specific data, check the type field to know the datatype. This field can be |
|
id |
r/w |
the id of the probe |
|
offset |
r/w |
offset of pull probe, this field is valid when type contains |
|
size |
r/w |
size of pull probe, this field is valid when type contains |
|
type |
r/w |
the current probe type |
Methods¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Gst.PadProbeInfo¶
Info passed in the
Gst.PadProbeCallback.- get_buffer()[source]¶
- Returns:
The
Gst.Bufferfrom the probe- Return type:
Gst.BufferorNone
- get_buffer_list()[source]¶
- Returns:
The
Gst.BufferListfrom the probe- Return type:
- get_flow_return()[source]¶
- Returns:
The
Gst.FlowReturnfrom the probe- Return type:
New in version 1.28.
- get_type()[source]¶
- Returns:
The
Gst.PadProbeTypefrom the probe- Return type:
New in version 1.28.
- set_buffer(buffer)[source]¶
- Parameters:
buffer (
Gst.BufferorNone) – aGst.Buffer
Updates self with buffer or
None.New in version 1.28.
- set_buffer_list(list)[source]¶
- Parameters:
list (
Gst.BufferListorNone) – aGst.BufferList
Updates self with list or
None.New in version 1.28.
- set_flow_return(flow_ret)[source]¶
- Parameters:
flow_ret (
Gst.FlowReturn) – AGst.FlowReturn
Updates self with flow_ret.
New in version 1.28.