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.
#GstMemoryFlags
data to wrap
allocated size of @data
offset in @data
user_data
called with @user_data when the memory is freed
Return: a new #GstMemory.
ConstructionException GTK+ fails to create the object.
See Implementation
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.