diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2015-07-22 19:26:42 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2015-07-22 19:30:12 -0400 |
commit | 034feb5bb920685465e1f8eb53bec0a3e68ffcb5 (patch) | |
tree | ce2c254fbf1c6ac741f424205828cc5f8eb9ffe0 /gst | |
parent | 4f4aedecf37830e95676cfbb407540e654de9527 (diff) | |
download | gstreamer-plugins-bad-034feb5bb920685465e1f8eb53bec0a3e68ffcb5.tar.gz |
audioaggregator: Use 1.0 style buffer allocation
Diffstat (limited to 'gst')
-rw-r--r-- | gst/audiomixer/gstaudioaggregator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/audiomixer/gstaudioaggregator.c b/gst/audiomixer/gstaudioaggregator.c index 38e870967..cba57eed7 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); |