GstBase.Adapter.map() and GstBase.Adapter.take() have missing parameter
GstBase.Adapter.map()
and GstBase.Adapter.take()
do not currently accept the size
and nbytes
arguments in the python bindings even though the documentation mention them when describing the functions:
- http://lazka.github.io/pgi-docs/GstBase-1.0/classes/Adapter.html#GstBase.Adapter.map
- http://lazka.github.io/pgi-docs/GstBase-1.0/classes/Adapter.html#GstBase.Adapter.take
These parameters are there in the C API:
- https://developer.gnome.org/gstreamer-libs/stable/GstAdapter.html#gst-adapter-map
- https://developer.gnome.org/gstreamer-libs/stable/GstAdapter.html#gst-adapter-take
These shortcomings can be worked around by using GstBase.Adapter.take_buffer*()
functions which seem to work fine and can substitute the broken ones.
This file shows the problem for GstBase.Adapter.take()
: test_GstAdapter_take.py
Thank you, Antonio