Resets writer and returns the current data as buffer.
Free-function: gst_buffer_unref
the current data as buffer. Buffer.unref after usage.
Resets writer and returns the current data as buffer.
Free-function: gst_buffer_unref