Buffer.doref

Increases the refcount of the given buffer by one. Note that the refcount affects the writeability of buf and its metadata, see gst_buffer_is_writable() and gst_buffer_is_metadata_writable(). It is important to note that keeping additional references to GstBuffer instances can potentially increase the number of memcpy operations in a pipeline.

class Buffer
doref
()

Return Value

Type: Buffer

buf

Meta