summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2017-10-15 10:44:44 +0200
committerStefan Sauer <ensonic@users.sf.net>2017-10-15 10:51:24 +0200
commit6deaeec19fb68e303273f11e28352462c16ca7ef (patch)
tree1f12ab226ef7e78402f8c559eebdeaf51655f2e0 /gst-libs
parent7e4efce31089bab337f86b14747aa0303d450c83 (diff)
downloadgstreamer-plugins-bad-6deaeec19fb68e303273f11e28352462c16ca7ef.tar.gz
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.
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/base/gstaggregator.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gst-libs/gst/base/gstaggregator.c b/gst-libs/gst/base/gstaggregator.c
index afeb9ba2b..864654eff 100644
--- a/gst-libs/gst/base/gstaggregator.c
+++ b/gst-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