How to operate on GstMapInfo

dingoegret sephvelut at gmail.com
Thu Mar 16 09:30:23 UTC 2017


with gst_adapter_available i can get the size (gsize) of bytesof char data in
the adapter.

with gst_adapter_map i can get the actual data as const void*
(gconstpointer).

now if i cast the gconstpointer to an unsigned *char, does that mean i get
back an array of pointers to char bytes where the size of the array of
pointers is the returned gsize? as in i could access data[0], data[1],
data[2] ... data[returned_gsize]? and get back pointers to the actual
singular bytes of supposed unsigned chars? this is what im trying to
understand. What is the data?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-operate-on-GstMapInfo-tp4682202p4682252.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list