Open
Description
I want to construct a new org.freedesktop.gstreamer.Buffer
object with data from a piece of native memory. For example, with the direct API, I could do something like this:
GstBuffer * gst_buffer_new_wrapped_full (GstMemoryFlags flags, gpointer data,
gsize maxsize, gsize offset, gsize size, gpointer user_data,
GDestroyNotify notify)
Is there any way I could do this using the java library? Neither Buffer nor GSTBufferApi seems to have this functionality?
The intention is to avoid having to allocate a new identical piece of memory and perform a copy into that when sending the buffer to GStreamer.