GstBase.DataQueue

g GObject.Object GObject.Object GstBase.DataQueue GstBase.DataQueue GObject.Object->GstBase.DataQueue

Subclasses:None

Virtual Methods

Inherited:GObject.Object (7)
  do_empty ()
  do_full ()

Properties

Name Type Flags Short Description
current-level-bytes int r Current amount of data in the queue (bytes)
current-level-time int r Current amount of data in the queue (in ns)
current-level-visible int r Current number of visible items in the queue

Signals

Inherited:GObject.Object (1)
Name Short Description
empty Reports that the queue became empty (empty).
full Reports that the queue became full (full).

Fields

Inherited:GObject.Object (1)
Name Type Access Description
object GObject.Object r the parent structure

Class Details

class GstBase.DataQueue(**kwargs)
Bases:GObject.Object
Abstract:No
Structure:GstBase.DataQueueClass

GstBase.DataQueue is an object that handles threadsafe queueing of objects. It also provides size-related functionality. This object should be used for any Gst.Element that wishes to provide some sort of queueing functionality.

do_empty() virtual
do_full() virtual

Signal Details

GstBase.DataQueue.signals.empty()
Signal Name:empty
Flags:RUN_FIRST

Reports that the queue became empty (empty). A queue is empty if the total amount of visible items inside it (num-visible, time, size) is lower than the boundary values which can be set through the GObject.Object properties.

GstBase.DataQueue.signals.full()
Signal Name:full
Flags:RUN_FIRST

Reports that the queue became full (full). A queue is full if the total amount of data inside it (num-visible, time, size) is higher than the boundary values which can be set through the GObject.Object properties.

Property Details

GstBase.DataQueue.props.current_level_bytes
Name:current-level-bytes
Type:int
Default Value:0
Flags:READABLE

Current amount of data in the queue (bytes)

GstBase.DataQueue.props.current_level_time
Name:current-level-time
Type:int
Default Value:0
Flags:READABLE

Current amount of data in the queue (in ns)

GstBase.DataQueue.props.current_level_visible
Name:current-level-visible
Type:int
Default Value:0
Flags:READABLE

Current number of visible items in the queue