In and out array are usually different, they are stack allocated arrays.
However the blocks inside them still can be the same.
https://bugzilla.gnome.org/show_bug.cgi?id=775369
bytes = samples * (convert->in.bpf / convert->in.channels);
- for (i = 0; i < chain->blocks; i++)
+ for (i = 0; i < chain->blocks; i++) {
+ if (out[i] == in[i]) {
+ g_assert (convert->in_place);
+ continue;
+ }
+
memcpy (out[i], in[i], bytes);
+ }
} else {
for (i = 0; i < chain->blocks; i++)
gst_audio_format_fill_silence (convert->in.finfo, out[i], samples);