From 920e9b569dfce3c0a1febfc9dbd24a26a7e9705e Mon Sep 17 00:00:00 2001 From: Johan Bilien Date: Thu, 17 Sep 2009 16:30:43 -0400 Subject: [PATCH] introspection: Add annotations for gst_element_query_{duration,position} Fixes bug #595511. --- gst/gstutils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gst/gstutils.c b/gst/gstutils.c index a68c6187f9..a3cd02c027 100644 --- a/gst/gstutils.c +++ b/gst/gstutils.c @@ -2149,9 +2149,9 @@ gst_element_query_position (GstElement * element, GstFormat * format, /** * gst_element_query_duration: * @element: a #GstElement to invoke the duration query on. - * @format: a pointer to the #GstFormat asked for. + * @format: (inout): a pointer to the #GstFormat asked for. * On return contains the #GstFormat used. - * @duration: A location in which to store the total duration, or NULL. + * @duration: (out): A location in which to store the total duration, or NULL. * * Queries an element for the total stream duration. * @@ -2813,9 +2813,9 @@ pads_changed: /** * gst_pad_query_position: * @pad: a #GstPad to invoke the position query on. - * @format: a pointer to the #GstFormat asked for. + * @format: (inout): a pointer to the #GstFormat asked for. * On return contains the #GstFormat used. - * @cur: A location in which to store the current position, or NULL. + * @cur: (out): A location in which to store the current position, or NULL. * * Queries a pad for the stream position. *