Original commit message from CVS:
get a writable buffer
}
static void
-gst_bpwsinc_chain (GstPad * pad, GstBuffer * buf)
+gst_bpwsinc_chain (GstPad *pad, GstBuffer *buf)
{
GstBPWSinc *filter;
gfloat *src;
* to make amends we keep the incoming buffer around and write our
* output samples there */
+ /* get a writable buffer */
+ buf = gst_buffer_copy_on_write (buf);
+
src = (gfloat *) GST_BUFFER_DATA (buf);
residue_samples = filter->wing_size * 2 + 1;
input_samples = GST_BUFFER_SIZE (buf) / sizeof (gfloat);