audioaggregator: unref converted buffer after gst_buffer_replace

This commit is contained in:
Mathieu Duponchelle 2018-04-12 22:24:26 +02:00
parent 32ca1701b7
commit a59fbba141

View file

@ -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);
}
}
}