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 #GstBaseParseFrame. This function is mainly for bindings, elements written in C should usually allocate the frame on the stack and then use gst_base_parse_frame_init() to initialise it.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

copy
BaseParseFrame copy()

Copies a #GstBaseParseFrame.

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 #GstBaseParseFrame to initial state. Currently this means all public fields are zero-ed and a private flag is set to make sure gst_base_parse_frame_free() only frees the contents but not the actual frame. Use this function to initialise a #GstBaseParseFrame allocated on the stack.

Static functions

getType
GType getType()

Variables

gstBaseParseFrame
GstBaseParseFrame* gstBaseParseFrame;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta