GNOME Bugzilla – Bug 340045
[GstBaseTransform] Buffer passed to ::transform_ip() has too big refcount
Last modified: 2006-07-03 13:46:39 UTC
When implementing a GstBaseTransform where: * Incoming buffers are writable (refcount == 1), * AND we don't implement a prepare_output_buffer() method in the subclass * AND The src and sink caps are the same The buffer passed as argument to the transform_ip() virtual method has one reference too much, .... which makes the buffer un-writable (refcount > 1) ! The responsible part seems to be here (gstbasetransform.c:889): /* Input buffer is already writable and caps are the same, just ref and return it */ *out_buf = in_buf; gst_buffer_ref (in_buf);
*** Bug 339767 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 343196 ***