Gst.AllocationParams

Fields

Name

Type

Access

Description

align

int

r/w

the desired alignment of the memory

flags

Gst.MemoryFlags

r/w

flags to control allocation

padding

int

r/w

the desired padding

prefix

int

r/w

the desired prefix

Methods

class

new ()

copy ()

free ()

init ()

Details

class Gst.AllocationParams

Parameters to control the allocation of memory

classmethod new()[source]
Returns:

a new Gst.AllocationParams

Return type:

Gst.AllocationParams

Create a new Gst.AllocationParams on the heap. This function is for use in GStreamer language bindings. In your own code, you can just declare a Gst.AllocationParams on the stack or in a struct, and call Gst.AllocationParams.init() to initialize it.

You do not need to call Gst.AllocationParams.init() on the instance returned by this function.

New in version 1.20.

copy()[source]
Returns:

a new Gst.AllocationParams.

Return type:

Gst.AllocationParams or None

Create a copy of self.

free()[source]

Free self

init()[source]

Initialize self to its default values