bufferpool: Don't free GstBuffer if memory isn't writable
Submitted by kevin
Link to original bug (#744303)
Description
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:
http://lists.freedesktop.org/archives/gstreamer-devel/2015-January/051137.html
Version: 1.4.1