diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2018-04-12 22:24:26 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2018-04-16 11:07:43 +0300 |
commit | d202097dd6a34657b288a4b4bea9e11499ebee56 (patch) | |
tree | 7579092b1a9be836fa7ef5c5971aaabc82def6f7 | |
parent | 1bd3ee8be3aa091cb70cdfe506a8cbf3db32ac93 (diff) |
audioaggregator: unref converted buffer after gst_buffer_replace
-rw-r--r-- | gst-libs/gst/audio/gstaudioaggregator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/audio/gstaudioaggregator.c b/gst-libs/gst/audio/gstaudioaggregator.c index 088a91ca9..7d5707f05 100644 --- a/gst-libs/gst/audio/gstaudioaggregator.c +++ b/gst-libs/gst/audio/gstaudioaggregator.c @@ -839,6 +839,7 @@ gst_audio_aggregator_update_converters (GstAudioAggregator * aagg, gst_audio_aggregator_convert_buffer (aagg, GST_PAD (aaggpad), &aaggpad->info, new_info, aaggpad->priv->input_buffer); gst_buffer_replace (&aaggpad->priv->buffer, new_converted_buffer); + gst_buffer_unref (new_converted_buffer); } } } |