BaseParseFrame.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(gst.buffer.Buffer buffer, gstbase.types.BaseParseFrameFlags 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 [gstbase.base_parse_frame.BaseParseFrame.init_] to initialise it.

Parameters

buffera #GstBuffer
flagsthe flags
overheadnumber of bytes in this frame which should be counted as metadata overhead, ie. not used to calculate the average bitrate. Set to -1 to mark the entire frame as metadata. If in doubt, set to 0.

Returns

a newly-allocated #GstBaseParseFrame. Free with

[gstbase.base_parse_frame.BaseParseFrame.free] when no longer needed.