bufferpool: Don't free GstBuffer if memory isn't writable
Submitted by kevin
GstBuffer will be freed if memory isn't writable. The reason of the memory can't writable is gst_buffer_copy_into() will increase the ref count of the memory. The expect is reuse video buffer without free it. The buffer will writable later. Do we have some general solution for it?
I have asked the question in gstreamer-dev mail list: