Flags

Details

class GstBase.BaseParseFrameFlags(value)

Bases: GLib.Flags

Flags to be used in a GstBase.BaseParseFrame.

NONE = 0

no flag

NEW_FRAME = 1

set by baseclass if current frame is passed for processing to the subclass for the first time (and not set on subsequent calls with same data).

QUEUE = 16

indicates to finish_frame that the the frame should be queued for now and processed fully later when the first non-queued frame is finished

NO_FRAME = 2

set to indicate this buffer should not be counted as frame, e.g. if this frame is dependent on a previous one. As it is not counted as a frame, bitrate increases but frame to time conversions are maintained.

CLIP = 4

pre_push_frame can set this to indicate that regular segment clipping can still be performed (as opposed to any custom one having been done).

DROP = 8

indicates to finish_frame that the the frame should be dropped (and might be handled internally by subclass)

class GstBase.BaseSrcFlags(value)

Bases: GLib.Flags

The Gst.Element flags that a basesrc element may have.

LAST = 1048576

offset to define more flags

STARTING = 16384

has source is starting

STARTED = 32768

has source been started

class GstBase.CollectPadsStateFlags(value)

Bases: GLib.Flags

EOS = 1

Set if collectdata’s pad is EOS.

LOCKED = 16

Set collectdata’s pad WAITING state must not be changed. GstBase.CollectPadsStateFlags indicate private state of a collectdata(‘s pad).

FLUSHING = 2

Set if collectdata’s pad is flushing.

NEW_SEGMENT = 4

Set if collectdata’s pad received a new_segment event.

WAITING = 8

Set if collectdata’s pad must be waited for when collecting.