mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +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
|
static GstFlowReturn
|
||||||
gst_audio_aggregator_aggregate (GstAggregator * agg, gboolean timeout)
|
gst_audio_aggregator_aggregate (GstAggregator * agg, gboolean timeout)
|
||||||
{
|
{
|
||||||
/* Get all pads that have data for us and store them in a
|
/* Calculate the current output offset/timestamp and offset_end/timestamp_end.
|
||||||
* new list.
|
* 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:
|
* For all pads:
|
||||||
* 1) Once per input buffer (cached)
|
* 1) Once per input buffer (cached)
|
||||||
|
@ -1108,10 +1104,10 @@ gst_audio_aggregator_aggregate (GstAggregator * agg, gboolean timeout)
|
||||||
* buffer and advance the pad's position. Remember if this pad needs
|
* buffer and advance the pad's position. Remember if this pad needs
|
||||||
* a new buffer to advance behind the output offset_end.
|
* 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
|
* If we had at least one pad that did not advance behind output
|
||||||
* offset_end, let collected be called again for the current
|
* offset_end, let aggregate be called again for the current
|
||||||
* output offset/offset_end.
|
* output offset/offset_end.
|
||||||
*/
|
*/
|
||||||
GstElement *element;
|
GstElement *element;
|
||||||
|
|
Loading…
Reference in a new issue