with flags or null when a mapping is not possible.
Memory.makeMapped
gst.memory.Memory makeMapped(out gst.map_info.MapInfo info, gst.types.MapFlags flags)Create a #GstMemory object that is mapped with flags. If mem is mappable with flags, this function returns the mapped mem directly. Otherwise a mapped copy of mem is returned.
This function takes ownership of old mem and returns a reference to a new #GstMemory.
Parameters
info | pointer for info |
flags | mapping flags |
Returns
a #GstMemory object mapped