BufferList.getWritable

gst.buffer.Buffer getWritable(uint idx)

Gets the buffer at idx, ensuring it is a writable buffer.

You must make sure that idx does not exceed the number of buffers available.

Parameters

idxthe index

Returns

the buffer at idx in group.

The returned buffer remains valid as long as list is valid and the buffer is not removed from the list.