Gst.MapInfo¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
data |
r/w |
a pointer to the mapped data |
|
flags |
r/w |
flags used when mapping the memory |
|
maxsize |
r/w |
the maximum bytes in data |
|
memory |
r/w |
a pointer to the mapped memory |
|
size |
r/w |
the valid size in data |
|
user_data |
[ |
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 usingGst.Buffer.unmap
() orGst.Memory.unmap
(). Instead, #GstBufferMapInfo and #GstMemoryMapInfo can be used in that case.