Harness.createBuffer

gst.buffer.Buffer createBuffer(size_t size)

Allocates a buffer using a #GstBufferPool if present, or else using the configured #GstAllocator and #GstAllocationParams

MT safe.

Parameters

sizea #gsize specifying the size of the buffer

Returns

a #GstBuffer of size size