Memory.map

Fill @info with the pointer and sizes of the memory in @mem that can be accessed according to @flags.

This function can return %FALSE for various reasons: - the memory backed by @mem is not accessible with the given @flags. - the memory was already mapped with a different mapping.

@info and its contents remain valid for as long as @mem is valid and until gst_memory_unmap() is called.

For each gst_memory_map() call, a corresponding gst_memory_unmap() call should be done.

class Memory
bool
map

Parameters

info GstMapInfo

pointer for info

flags GstMapFlags

mapping flags

Return Value

Type: bool

%TRUE if the map operation was successful.

Meta