How to implement custom GstBufferPool?

Edgar Thier edgar.thier at theimagingsource.com
Thu May 12 05:30:18 UTC 2022


Hi all,

I am trying to implement an own buffer pool to remove the continuous creation of GstBuffer instances in my custom source create function.

I implemented base_src::decide_allocation to modify the allocation query but GstBufferPool::start never gets called,
so, I am very clearly missing some vital information.

Is there a guide? A simple example? The best I found is GstV4L2BufferPool.c but that is not that straightforward and understandable.
The documentation is not helpful either...
I'd be thankful any hints!

Thanks,
Edgar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220512/2ac1862f/attachment.htm>


More information about the gstreamer-devel mailing list