Gst.PadProbeInfo

Fields

Name

Type

Access

Description

data

object

r/w

type specific data, check the type field to know the datatype. This field can be None.

id

int

r/w

the id of the probe

offset

int

r/w

offset of pull probe, this field is valid when type contains Gst.PadProbeType.PULL

size

int

r/w

size of pull probe, this field is valid when type contains Gst.PadProbeType.PULL

type

Gst.PadProbeType

r/w

the current probe type

Methods

get_buffer ()

get_buffer_list ()

get_event ()

get_flow_return ()

get_id ()

get_offset ()

get_query ()

get_size ()

get_type ()

set_buffer (buffer)

set_buffer_list (list)

set_event (event)

set_flow_return (flow_ret)

Details

class Gst.PadProbeInfo

Info passed in the Gst.PadProbeCallback.

get_buffer()[source]
Returns:

The Gst.Buffer from the probe

Return type:

Gst.Buffer or None

get_buffer_list()[source]
Returns:

The Gst.BufferList from the probe

Return type:

Gst.BufferList or None

get_event()[source]
Returns:

The Gst.Event from the probe

Return type:

Gst.Event or None

get_flow_return()[source]
Returns:

The Gst.FlowReturn from the probe

Return type:

Gst.FlowReturn

New in version 1.28.

get_id()[source]
Returns:

The probe ID from the probe

Return type:

int

New in version 1.28.

get_offset()[source]
Returns:

The offset from the probe

Return type:

int

New in version 1.28.

get_query()[source]
Returns:

The Gst.Query from the probe

Return type:

Gst.Query or None

get_size()[source]
Returns:

The size from the probe

Return type:

int

New in version 1.28.

get_type()[source]
Returns:

The Gst.PadProbeType from the probe

Return type:

Gst.PadProbeType

New in version 1.28.

set_buffer(buffer)[source]
Parameters:

buffer (Gst.Buffer or None) – a Gst.Buffer

Updates self with buffer or None.

New in version 1.28.

set_buffer_list(list)[source]
Parameters:

list (Gst.BufferList or None) – a Gst.BufferList

Updates self with list or None.

New in version 1.28.

set_event(event)[source]
Parameters:

event (Gst.Event or None) – a Gst.Event

Updates self with event or None.

New in version 1.28.

set_flow_return(flow_ret)[source]
Parameters:

flow_ret (Gst.FlowReturn) – A Gst.FlowReturn

Updates self with flow_ret.

New in version 1.28.