Backport of "audioaggregator: Don't overwrite already written samples" into 1.18
requested to merge tpm/gst-plugins-base:backport-mr-1180-into-1.18-audioagg-backwards-discont into 1.18
Backport of !1180 (merged) "audioaggregator: Don't overwrite already written samples".
Commits: