From ee1a50ef70bc887fdb4d9009004104670adef904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Wed, 22 Jul 2015 19:26:42 -0400 Subject: [PATCH] audioaggregator: Use 1.0 style buffer allocation --- gst/audiomixer/gstaudioaggregator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/audiomixer/gstaudioaggregator.c b/gst/audiomixer/gstaudioaggregator.c index 38e8709678..cba57eed7b 100644 --- a/gst/audiomixer/gstaudioaggregator.c +++ b/gst/audiomixer/gstaudioaggregator.c @@ -943,8 +943,8 @@ static GstBuffer * gst_audio_aggregator_create_output_buffer (GstAudioAggregator * aagg, guint num_frames) { - GstBuffer *outbuf = gst_buffer_new_and_alloc (num_frames * - GST_AUDIO_INFO_BPF (&aagg->info)); + GstBuffer *outbuf = gst_buffer_new_allocate (NULL, num_frames * + GST_AUDIO_INFO_BPF (&aagg->info), NULL); GstMapInfo outmap; gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE);