Gst.MapInfo

Fields

Name

Type

Access

Description

data

bytes

r/w

a pointer to the mapped data

flags

Gst.MapFlags

r/w

flags used when mapping the memory

maxsize

int

r/w

the maximum bytes in data

memory

Gst.Memory

r/w

a pointer to the mapped memory

size

int

r/w

the valid size in data

user_data

[object]

r/w

extra private user_data that the implementation of the memory can use to store extra info.

Methods

None

Details

class Gst.MapInfo

A structure containing the result of a map operation such as Gst.Memory.map(). It contains the data and size.

Gst.MapInfo cannot be used with g_auto() because it is ambiguous whether it needs to be unmapped using Gst.Buffer.unmap() or Gst.Memory.unmap(). Instead, #GstBufferMapInfo and #GstMemoryMapInfo can be used in that case.