Gst.Memory.new_wrapped
function new_wrapped(flags:Gst.MemoryFlags, data:gpointer, maxsize:gsize, offset:gsize, size:gsize, user_data:gpointer, notify:GLib.DestroyNotify):Gst.Memory {
// Gjs wrapper for gst_memory_new_wrapped()
}Allocate a new memory block that wraps the given data.
The prefix/padding must be filled with 0 if flags contains #GST_MEMORY_FLAG_ZERO_PREFIXED and #GST_MEMORY_FLAG_ZERO_PADDED respectively.
- flags
- data
data to wrap
- maxsize
allocated size of data
- offset
offset in data
- size
size of valid data
- user_data
user_data
- notify
called with user_data when the memory is freed
- Returns
a new Gst.Memory.