Create a new #GstAllocationParams on the heap. This function is for
use in GStreamer language bindings. In your own code, you can just
declare a #GstAllocationParams on the stack or in a struct, and
call gst.allocation_params.AllocationParams.init_ to initialize it.
Create a new #GstAllocationParams on the heap. This function is for use in GStreamer language bindings. In your own code, you can just declare a #GstAllocationParams on the stack or in a struct, and call gst.allocation_params.AllocationParams.init_ to initialize it.
You do not need to call gst.allocation_params.AllocationParams.init_ on the instance returned by this function.