PadProbeInfo#

class PadProbeInfo(*args, **kwargs)#

Info passed in the PadProbeCallback.

Methods#

class PadProbeInfo
get_buffer() Buffer | None#
get_buffer_list() BufferList | None#
get_event() Event | None#
get_flow_return() FlowReturn#

Added in version 1.28.

get_id() int#

Added in version 1.28.

get_offset() int#

Added in version 1.28.

get_query() Query | None#
get_size() int#

Added in version 1.28.

get_type() PadProbeType#

Added in version 1.28.

set_buffer(buffer: Buffer | None = None) None#

Updates info with buffer or None.

Added in version 1.28.

Parameters:

buffer – a Buffer

set_buffer_list(list: BufferList | None = None) None#

Updates info with list or None.

Added in version 1.28.

Parameters:

list – a BufferList

set_event(event: Event | None = None) None#

Updates info with event or None.

Added in version 1.28.

Parameters:

event – a Event

set_flow_return(flow_ret: FlowReturn) None#

Updates info with flow_ret.

Added in version 1.28.

Parameters:

flow_ret – A FlowReturn

Fields#

class PadProbeInfo
data#

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

id#

The id of the probe

offset#

Offset of pull probe, this field is valid when type contains GST_PAD_PROBE_TYPE_PULL

size#

Size of pull probe, this field is valid when type contains GST_PAD_PROBE_TYPE_PULL

type#

The current probe type