diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2017-10-05 08:12:45 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2017-10-05 08:57:09 +0200 |
commit | afa3b968a07a6415a6bc39238998cde864621db0 (patch) | |
tree | b956bf500690a8f8659275acaacf77677b63ee52 /gst-libs | |
parent | 7d97004dd7be2a2c455b790da98eed508e71e514 (diff) | |
download | gstreamer-plugins-bad-afa3b968a07a6415a6bc39238998cde864621db0.tar.gz |
audioaggregator: rename _fill_buffer() to _queue_new_buffer()
It does not fill a buffer. Rename it and add a short comment.
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/audio/gstaudioaggregator.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gst-libs/gst/audio/gstaudioaggregator.c b/gst-libs/gst/audio/gstaudioaggregator.c index 7d91f4836..202474b84 100644 --- a/gst-libs/gst/audio/gstaudioaggregator.c +++ b/gst-libs/gst/audio/gstaudioaggregator.c @@ -763,9 +763,12 @@ gst_audio_aggregator_do_clip (GstAggregator * agg, /* Called with the object lock for both the element and pad held, * as well as the aagg lock + * + * Replace the current buffer with input and update GstAudioAggregatorPadPrivate + * values. */ static gboolean -gst_audio_aggregator_fill_buffer (GstAudioAggregator * aagg, +gst_audio_aggregator_queue_new_buffer (GstAudioAggregator * aagg, GstAudioAggregatorPad * pad, GstBuffer * inbuf) { GstClockTime start_time, end_time; @@ -1241,7 +1244,7 @@ gst_audio_aggregator_aggregate (GstAggregator * agg, gboolean timeout) /* New buffer? */ if (!pad->priv->buffer) { /* Takes ownership of buffer */ - if (!gst_audio_aggregator_fill_buffer (aagg, pad, inbuf)) { + if (!gst_audio_aggregator_queue_new_buffer (aagg, pad, inbuf)) { dropped = TRUE; GST_OBJECT_UNLOCK (pad); gst_aggregator_pad_drop_buffer (aggpad); |