Custom BufferPool
Hello,
I'm trying to interface a custom buffer pool implementation from a library with my GStreamer plugin code.
The library I'm using provides a creation function that returns a *mut GstBufferPool
and I'd like to wrap it in a gstreamer::BufferPool
.
I'm looking for a method comparable to gstreamer::Buffer::replace_ptr(&mut self, *mut GstBuffer)
but for BufferPool
.
It seems that this method is generated by the mini_object_wrapper!
macro.
Is there a reason why mini_object_wrapper!
is not used for BufferPool
?