From 4c75ec53e7b850fe3845e4fd981a59c9e103287c Mon Sep 17 00:00:00 2001 From: Alba Mendez Date: Mon, 7 Jun 2021 09:29:58 +0000 Subject: [PATCH] introspection: annotate ownership in more vfuncs Part-of: --- libs/gst/base/gstbasetransform.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/libs/gst/base/gstbasetransform.h b/libs/gst/base/gstbasetransform.h index 8ad6a6d43c..0457b89bb2 100644 --- a/libs/gst/base/gstbasetransform.h +++ b/libs/gst/base/gstbasetransform.h @@ -226,6 +226,10 @@ struct _GstBaseTransformClass { GstCaps* (*transform_caps) (GstBaseTransform *trans, GstPadDirection direction, GstCaps *caps, GstCaps *filter); + /** + * GstBaseTransformClass::fixate_caps: + * @othercaps: (transfer full): + */ GstCaps* (*fixate_caps) (GstBaseTransform *trans, GstPadDirection direction, GstCaps *caps, GstCaps *othercaps); @@ -266,7 +270,15 @@ struct _GstBaseTransformClass { gboolean (*stop) (GstBaseTransform *trans); /* sink and src pad event handlers */ + /** + * GstBaseTransformClass::sink_event: + * @event: (transfer full): + */ gboolean (*sink_event) (GstBaseTransform *trans, GstEvent *event); + /** + * GstBaseTransformClass::src_event: + * @event: (transfer full): + */ gboolean (*src_event) (GstBaseTransform *trans, GstEvent *event); /**