Gst.Memory.prototype.make_mapped
function make_mapped(flags:Gst.MapFlags):Gst.Memory {
// Gjs wrapper for gst_memory_make_mapped()
}Create a Gst.Memory 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 Gst.Memory.
- flags
mapping flags
- Returns
a Gst.Memory object mapped with flags or NULL when a mapping is not possible.