One of our customers tries to create an app based on
which uses gst_buffer_copy().
My default gstreamer-1.16.2 Gentoo gir files does not contain that function at all. For latest git sources it is listed as introspectable=“0”.
Do we have any idea?
salewski@nuc ~ $ grep gst_buffer_copy /opt/gtk/share/gir-1.0/Gst-1.0.gir
gst_buffer_copy_into().</doc>
gst_buffer_copy_into().</doc>
use gst_buffer_copy_region(). This method tries to share the memory objects
<method name="copy" c:identifier="gst_buffer_copy" introspectable="0">
Check gst_buffer_copy_deep() if you want to force the data
c:identifier="gst_buffer_copy_deep"
<method name="copy_into" c:identifier="gst_buffer_copy_into">
<method name="copy_region" c:identifier="gst_buffer_copy_region">
glib:get-type="gst_buffer_copy_flags_get_type"
line="491">A set of flags that can be provided to the gst_buffer_copy_into()
gst_buffer_copy(). The passed-in @buf will be unreffed in that case, and the
salewski@nuc ~ $ grep gst_buffer_copy /usr/share/gir-1.0/Gst-1.0.gir
gst_buffer_copy_into().</doc>
gst_buffer_copy_into().</doc>
use gst_buffer_copy_region(). This method tries to share the memory objects
c:identifier="gst_buffer_copy_deep"
<method name="copy_into" c:identifier="gst_buffer_copy_into">
<method name="copy_region" c:identifier="gst_buffer_copy_region">
glib:get-type="gst_buffer_copy_flags_get_type"
line="488">A set of flags that can be provided to the gst_buffer_copy_into()
gst_buffer_copy(). The passed-in @buf will be unreffed in that case, and the
salewski@nuc ~ $ grep gst_buffer_copy ~/.nimble/pkgs/gintro-0.8.5/gintro/gst.nim
proc gst_buffer_copy_deep(self: ptr Buffer00): ptr Buffer00 {.
result.impl = gst_buffer_copy_deep(cast[ptr Buffer00](self.impl))
proc gst_buffer_copy_into(self: ptr Buffer00; src: ptr Buffer00; flags: BufferCopyFlags;
toBool(gst_buffer_copy_into(cast[ptr Buffer00](self.impl), cast[ptr Buffer00](src.impl), flags, offset, size))
proc gst_buffer_copy_region(self: ptr Buffer00; flags: BufferCopyFlags; offset: uint64;
result.impl = gst_buffer_copy_region(cast[ptr Buffer00](self.impl), flags, offset, size)