bufferpool: is it possible wait all memory writalbe, nor free the buffer?

Nicolas Dufresne nicolas.dufresne at collabora.com
Fri Jan 9 06:37:31 PST 2015


Le 2015-01-09 04:50, Sebastian Dröge a écrit :
>> >I know the methods can fix my issue. But free and allocate buffer in video buffer pool isn't expect behave in some use case. Is it valuable to implement the feature in gstbufferpool.c?
> If you find a way how to implement that in a generic way, sure:)

That could be a way to solve the case where we discard buffers after 
gst_buffer_make_writable() is called. A simpler plausible solution I had 
in mind, was to hook original buffer life time to the new buffer (in the 
case the memory are just reffed). I have not done any test of this.

Nicolas


More information about the gstreamer-devel mailing list