aggregator: add g-i transfer and scope annotations

This commit is contained in:
Tim-Philipp Müller 2015-01-01 15:46:00 +00:00
parent 6af6dcb0f7
commit 50908e60d0

View file

@ -29,8 +29,8 @@
* Control is given to the subclass when all pads have data. * Control is given to the subclass when all pads have data.
* <itemizedlist> * <itemizedlist>
* <listitem><para> * <listitem><para>
* Base class for mixers and muxers. Implementers should at least implement * Base class for mixers and muxers. Subclasses should at least implement
* the aggregate () vmethod. * the #GstAggregatorClass.aggregate() virtual method.
* </para></listitem> * </para></listitem>
* <listitem><para> * <listitem><para>
* When data is queued on all pads, tha aggregate vmethod is called. * When data is queued on all pads, tha aggregate vmethod is called.
@ -273,8 +273,8 @@ enum
/** /**
* gst_aggregator_iterate_sinkpads: * gst_aggregator_iterate_sinkpads:
* @self: The #GstAggregator * @self: The #GstAggregator
* @func: The function to call. * @func: (scope call): The function to call.
* @user_data: The data to pass to @func. * @user_data: (closure): The data to pass to @func.
* *
* Iterate the sinkpads of aggregator to call a function on them. * Iterate the sinkpads of aggregator to call a function on them.
* *
@ -441,10 +441,11 @@ gst_aggregator_set_src_caps (GstAggregator * self, GstCaps * caps)
/** /**
* gst_aggregator_finish_buffer: * gst_aggregator_finish_buffer:
* @self: The #GstAggregator * @self: The #GstAggregator
* @buffer: the #GstBuffer to push. * @buffer: (transfer full): the #GstBuffer to push.
* *
* This method will take care of sending mandatory events before pushing * This method will push the provided output buffer downstream. If needed,
* the provided buffer. * mandatory events such as stream-start, caps, and segment events will be
* sent before pushing the buffer.
*/ */
GstFlowReturn GstFlowReturn
gst_aggregator_finish_buffer (GstAggregator * self, GstBuffer * buffer) gst_aggregator_finish_buffer (GstAggregator * self, GstBuffer * buffer)