Memory.makeMapped

Create a gstreamer.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 gstreamer.Memory

class Memory
makeMapped

Parameters

info GstMapInfo

pointer for info

flags GstMapFlags

mapping flags

Return Value

Type: Memory

a gstreamer.Memory object mapped with flags or NULL when a mapping is not possible.