BaseParseFrame

Frame (context) data passed to each frame parsing virtual methods. In addition to providing the data to be checked for a valid frame or an already identified frame, it conveys additional metadata or control information from and to the subclass w.r.t. the particular frame in question (rather than global parameters). Some of these may apply to each parsing stage, others only to some a particular one. These parameters are effectively zeroed at start of each frame's processing, i.e. parsing virtual method invocation sequence.

Constructors

this
this(GstBaseParseFrame* gstBaseParseFrame, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this(Buffer buffer, GstBaseParseFrameFlags flags, int overhead)

Allocates a new gst.BaseParseFrame.BaseParseFrame This function is mainly for bindings, elements written in C should usually allocate the frame on the stack and then use BaseParse.frameInit to initialise it.

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

copy
BaseParseFrame copy()

Copies a gst.BaseParseFrame.BaseParseFrame

free
void free()

Frees the provided frame.

getBaseParseFrameStruct
GstBaseParseFrame* getBaseParseFrameStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

init
void init()

Sets a gst.BaseParseFrame.BaseParseFrame to initial state. Currently this means all public fields are zero-ed and a private flag is set to make sure BaseParse.frameFree only frees the contents but not the actual frame. Use this function to initialise a gst.BaseParseFrame.BaseParseFrame allocated on the stack.

Static functions

getType
GType getType()

Variables

gstBaseParseFrame
GstBaseParseFrame* gstBaseParseFrame;

the main Gtk struct