Would it make sense to use [`gst_buffer_new_wrapped`](http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#gst-buffer-new-wrapped) to simplify this?