Buffer.makeMetadataWritable

Similar to gst_buffer_make_writable, but does not ensure that the buffer data array is writable. Instead, this just ensures that the returned buffer is solely owned by the caller, by creating a subbuffer of the original buffer if necessary. After calling this function, buf should not be referenced anymore. The result of this function has guaranteed writable metadata.

class Buffer
makeMetadataWritable
()

Return Value

Type: Buffer

A new GstBuffer with writable metadata.

Meta