mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
audioaggregator: rename _fill_buffer() to _queue_new_buffer()
It does not fill a buffer. Rename it and add a short comment.
This commit is contained in:
parent
5fd4e71da3
commit
926fed92e9
1 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue