bufferpool: is it possible wait all memory writalbe, nor free the buffer?
Nicolas Dufresne
nicolas.dufresne at collabora.com
Mon Feb 2 06:08:58 PST 2015
Le 2015-02-02 02:34, Bing Song a écrit :
> Our use case implement one allocator based on V4L2, but use default GstVideoBufferPool. So can't handle flushing in allocator unless we implement video buffer pool based on V4L2. (we haven't use V4L2 allocator and V4L2 buffer pool released by Gstreamer as some limitation of V4L2 driver on our platform)
I don't think such design could have ever worked. GstAllocator are not
designed to block. (at least not at the moment). Are you sure you cannot
fix you driver ?
>
> I prefer hook original buffer life time to the new buffer. Do you have patch for it? If no, I can try to generate patch for the solution. What's your opinion?
I never tried it so far.
Nicolas
More information about the gstreamer-devel
mailing list