mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
audioaggregator: update comment for aggregate
Replace collect-pads left-over. Remove first paragraph, we're not doing this. Remove 3), 4) since this is not per pad.
This commit is contained in:
parent
c74d557127
commit
81bbdd9fcd
1 changed files with 6 additions and 10 deletions
|
@ -1086,12 +1086,8 @@ sync_pad_values (GstAudioAggregator * aagg, GstAudioAggregatorPad * pad)
|
|||
static GstFlowReturn
|
||||
gst_audio_aggregator_aggregate (GstAggregator * agg, gboolean timeout)
|
||||
{
|
||||
/* Get all pads that have data for us and store them in a
|
||||
* new list.
|
||||
*
|
||||
* Calculate the current output offset/timestamp and
|
||||
* offset_end/timestamp_end. Allocate a silence buffer
|
||||
* for this and store it.
|
||||
/* Calculate the current output offset/timestamp and offset_end/timestamp_end.
|
||||
* Allocate a silence buffer for this and store it.
|
||||
*
|
||||
* For all pads:
|
||||
* 1) Once per input buffer (cached)
|
||||
|
@ -1108,11 +1104,11 @@ gst_audio_aggregator_aggregate (GstAggregator * agg, gboolean timeout)
|
|||
* buffer and advance the pad's position. Remember if this pad needs
|
||||
* a new buffer to advance behind the output offset_end.
|
||||
*
|
||||
* 3) If we had no pad with a buffer, go EOS.
|
||||
* If we had no pad with a buffer, go EOS.
|
||||
*
|
||||
* 4) If we had at least one pad that did not advance behind output
|
||||
* offset_end, let collected be called again for the current
|
||||
* output offset/offset_end.
|
||||
* If we had at least one pad that did not advance behind output
|
||||
* offset_end, let aggregate be called again for the current
|
||||
* output offset/offset_end.
|
||||
*/
|
||||
GstElement *element;
|
||||
GstAudioAggregator *aagg;
|
||||
|
|
Loading…
Reference in a new issue