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_query ()

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_query()[source]
Returns:

The Gst.Query from the probe

Return type:

Gst.Query or None