summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2017-10-15 10:44:44 +0200
committerTim-Philipp Müller <tim@centricular.com>2017-12-02 15:10:27 +0000
commit5a06c3d12bfc0c8ffbe49df2164547def0f51ece (patch)
treeb50d74a2a0a767841b69326083d784d039ae129b
parent00d6f46ff896424d7743bb3832518da36f8a9b20 (diff)
aggregator: improve section docs
Mention how data ends up in the queues. Document the relation of the pad functions and the class vmethods to get events and queries.
-rw-r--r--libs/gst/base/gstaggregator.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c
index afeb9ba2b..864654eff 100644
--- a/libs/gst/base/gstaggregator.c
+++ b/libs/gst/base/gstaggregator.c
@@ -32,6 +32,12 @@
* * Base class for mixers and muxers. Subclasses should at least implement
* the #GstAggregatorClass.aggregate() virtual method.
*
+ * * Installs a #GstPadChainFunction, a #GstPadEventFullFunction and a
+ * #GstPadQueryFunction to queue all serialized data packets per sink pad.
+ * Subclasses should not overwrite those, but instead implement
+ * #GstAggregatorClass.sink_event() and #GstAggregatorClass.sink_query() as
+ * needed.
+ *
* * When data is queued on all pads, the aggregate vmethod is called.
*
* * One can peek at the data on any given GstAggregatorPad with the