From e6dbbb385404c96f3229d0048caf84b73a3efaa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 2 Dec 2017 15:44:48 +0000 Subject: [PATCH] aggregator: hook up to docs --- docs/libs/gstreamer-libs-docs.sgml | 3 ++ docs/libs/gstreamer-libs-sections.txt | 42 ++++++++++++++++++++++++++- docs/libs/gstreamer-libs.types | 3 ++ libs/gst/base/gstaggregator.c | 20 +++++++++++-- 4 files changed, 65 insertions(+), 3 deletions(-) diff --git a/docs/libs/gstreamer-libs-docs.sgml b/docs/libs/gstreamer-libs-docs.sgml index bca5d2fa70..0b94424d19 100644 --- a/docs/libs/gstreamer-libs-docs.sgml +++ b/docs/libs/gstreamer-libs-docs.sgml @@ -33,6 +33,9 @@ by elements and utillity classes that are most useful for plugin developers. + + + diff --git a/docs/libs/gstreamer-libs-sections.txt b/docs/libs/gstreamer-libs-sections.txt index 2d9fe2a06a..4a36b480ae 100644 --- a/docs/libs/gstreamer-libs-sections.txt +++ b/docs/libs/gstreamer-libs-sections.txt @@ -170,7 +170,7 @@ gst_trigger_control_source_get_type
gstadapter GstAdapter -gst/base/gstadapter.h +gst/base/adapter.h GstAdapter gst_adapter_new gst_adapter_clear @@ -215,6 +215,46 @@ GST_ADAPTER_GET_CLASS gst_adapter_get_type
+
+gstaggregator +GstAggregator +gst/base/base.h +GstAggregator +GstAggregatorClass +gst_aggregator_finish_buffer +gst_aggregator_set_src_caps +gst_aggregator_get_latency +gst_aggregator_get_buffer_pool +gst_aggregator_get_allocator + +GST_IS_AGGREGATOR +GST_IS_AGGREGATOR_CLASS +GST_TYPE_AGGREGATOR +GST_AGGREGATOR +GST_AGGREGATOR_CLASS +GST_AGGREGATOR_GET_CLASS +gst_aggregator_get_type +
+ +
+gstaggregatorpad +GstAggregatorPad +GstAggregatorPad +GstAggregatorPadClass +gst_aggregator_pad_steal_buffer +gst_aggregator_pad_get_buffer +gst_aggregator_pad_drop_buffer +gst_aggregator_pad_is_eos + +GST_IS_AGGREGATOR_PAD +GST_IS_AGGREGATOR_PAD_CLASS +GST_TYPE_AGGREGATOR_PAD +GST_AGGREGATOR_PAD +GST_AGGREGATOR_PAD_CLASS +GST_AGGREGATOR_PAD_GET_CLASS +gst_aggregator_pad_get_type +
+
gstbaseparse GstBaseParse diff --git a/docs/libs/gstreamer-libs.types b/docs/libs/gstreamer-libs.types index 0d4b5a3f29..c68cf9eb01 100644 --- a/docs/libs/gstreamer-libs.types +++ b/docs/libs/gstreamer-libs.types @@ -3,6 +3,7 @@ % base classes #include +#include #include #include #include @@ -11,6 +12,8 @@ #include gst_adapter_get_type +gst_aggregator_get_type +gst_aggregator_pad_get_type gst_base_parse_get_type gst_base_src_get_type gst_base_sink_get_type diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index 9dddf837c4..fd92811424 100644 --- a/libs/gst/base/gstaggregator.c +++ b/libs/gst/base/gstaggregator.c @@ -22,8 +22,8 @@ /** * SECTION: gstaggregator * @title: GstAggregator - * @short_description: manages a set of pads with the purpose of - * aggregating their buffers. + * @short_description: Base class for mixers and muxers, manages a set of input + * pads and aggregates their streams * @see_also: gstcollectpads for historical reasons. * * Manages a set of pads with the purpose of aggregating their buffers. @@ -61,6 +61,22 @@ * flag these buffers with GST_BUFFER_FLAG_GAP and GST_BUFFER_FLAG_DROPPABLE * to ease their identification and subsequent processing. * + * This class used to live in gst-plugins-bad and was moved to core. + * + * Since: 1.14 + */ + +/** + * SECTION: gstaggregatorpad + * @title: GstAggregatorPad + * @short_description: #GstPad subclass for pads managed by #GstAggregator + * @see_also: gstcollectpads for historical reasons. + * + * Pads managed by a #GstAggregor subclass. + * + * This class used to live in gst-plugins-bad and was moved to core. + * + * Since: 1.14 */ #ifdef HAVE_CONFIG_H