gst/buffer: add a new function for wrapping GBytes
One restriction on the GBytes is that the data cannot be NULL as this is explicitly forbidden by GstMemory.
Fixes #318 (closed)
One restriction on the GBytes is that the data cannot be NULL as this is explicitly forbidden by GstMemory.
Fixes #318 (closed)