libs: Documentation fixes

* Symbols not properly exposed or wrongly named
This commit is contained in:
Edward Hervey 2018-04-02 12:41:48 +02:00 committed by Edward Hervey
parent f5f1fb5780
commit 09791e859c
2 changed files with 10 additions and 3 deletions

View file

@ -64,10 +64,11 @@ struct _GstAggregatorPad
{ {
GstPad parent; GstPad parent;
/*< public >*/
/* Protected by the OBJECT_LOCK */ /* Protected by the OBJECT_LOCK */
GstSegment segment; GstSegment segment;
/* < Private > */ /* < private > */
GstAggregatorPadPrivate * priv; GstAggregatorPadPrivate * priv;
gpointer _gst_reserved[GST_PADDING]; gpointer _gst_reserved[GST_PADDING];
@ -131,7 +132,6 @@ gboolean gst_aggregator_pad_is_eos (GstAggregatorPad * pad);
/** /**
* GstAggregator: * GstAggregator:
* @srcpad: the aggregator's source pad * @srcpad: the aggregator's source pad
* @segment: the output segment
* *
* Aggregator base class object structure. * Aggregator base class object structure.
*/ */
@ -139,6 +139,7 @@ struct _GstAggregator
{ {
GstElement parent; GstElement parent;
/*< public >*/
GstPad * srcpad; GstPad * srcpad;
/*< private >*/ /*< private >*/
@ -203,6 +204,10 @@ struct _GstAggregator
* based aggregation to occur. Defaults to returning * based aggregation to occur. Defaults to returning
* GST_CLOCK_TIME_NONE causing the element to wait for buffers * GST_CLOCK_TIME_NONE causing the element to wait for buffers
* on all sink pads before aggregating. * on all sink pads before aggregating.
* @create_new_pad: Optional.
* Called when a new pad needs to be created. Allows subclass that
* don't have a single sink pad template to provide a pad based
* on the provided information.
* @update_src_caps: Lets subclasses update the #GstCaps representing * @update_src_caps: Lets subclasses update the #GstCaps representing
* the src pad caps before usage. The result should end up * the src pad caps before usage. The result should end up
* in @ret. Return %GST_AGGREGATOR_FLOW_NEED_DATA to indicate that the * in @ret. Return %GST_AGGREGATOR_FLOW_NEED_DATA to indicate that the
@ -220,6 +225,8 @@ struct _GstAggregator
* Setup the allocation parameters for allocating output * Setup the allocation parameters for allocating output
* buffers. The passed in query contains the result of the * buffers. The passed in query contains the result of the
* downstream allocation query. * downstream allocation query.
* @propose_allocation: Optional.
* Allows the subclass to handle the allocation query from upstream.
* *
* The aggregator base class will handle in a thread-safe way all manners of * The aggregator base class will handle in a thread-safe way all manners of
* concurrent flushes, seeks, pad additions and removals, leaving to the * concurrent flushes, seeks, pad additions and removals, leaving to the

View file

@ -88,7 +88,7 @@ GST_CHECK_API
void gst_check_init (int *argc, char **argv[]); void gst_check_init (int *argc, char **argv[]);
GST_CHECK_API GST_CHECK_API
GstCheckLogFilter * gst_check_add_log_filter (const gchar * log, GstCheckLogFilter * gst_check_add_log_filter (const gchar * log_domain,
GLogLevelFlags log_level, GRegex * regex, GstCheckLogFilterFunc func, GLogLevelFlags log_level, GRegex * regex, GstCheckLogFilterFunc func,
gpointer user_data, GDestroyNotify destroy_data); gpointer user_data, GDestroyNotify destroy_data);