From 50908e60d00f6243e45f3bee876ec646662e8fe1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 1 Jan 2015 15:46:00 +0000 Subject: [PATCH] aggregator: add g-i transfer and scope annotations --- libs/gst/base/gstaggregator.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index 3aff840..ada6a9a 100644 --- a/libs/gst/base/gstaggregator.c +++ b/libs/gst/base/gstaggregator.c @@ -29,8 +29,8 @@ * Control is given to the subclass when all pads have data. * * - * Base class for mixers and muxers. Implementers should at least implement - * the aggregate () vmethod. + * Base class for mixers and muxers. Subclasses should at least implement + * the #GstAggregatorClass.aggregate() virtual method. * * * When data is queued on all pads, tha aggregate vmethod is called. @@ -273,8 +273,8 @@ enum /** * gst_aggregator_iterate_sinkpads: * @self: The #GstAggregator - * @func: The function to call. - * @user_data: The data to pass to @func. + * @func: (scope call): The function to call. + * @user_data: (closure): The data to pass to @func. * * 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: * @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 - * the provided buffer. + * This method will push the provided output buffer downstream. If needed, + * mandatory events such as stream-start, caps, and segment events will be + * sent before pushing the buffer. */ GstFlowReturn gst_aggregator_finish_buffer (GstAggregator * self, GstBuffer * buffer) -- 2.7.4