From 0b845fc88c9fb25232dd3a96aa6f697e9544f3cc Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Sun, 2 Mar 2014 17:55:45 +0100 Subject: [PATCH] docs: Fix typos and remove unknown annotations Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725517 --- gst/gstbufferpool.c | 2 +- gst/gstmeta.c | 6 +++--- libs/gst/base/gstbaseparse.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gst/gstbufferpool.c b/gst/gstbufferpool.c index edd9ec9cf4..cdd3b2bef3 100644 --- a/gst/gstbufferpool.c +++ b/gst/gstbufferpool.c @@ -1069,7 +1069,7 @@ default_reset_buffer (GstBufferPool * pool, GstBuffer * buffer) * gst_buffer_pool_acquire_buffer: * @pool: a #GstBufferPool * @buffer: (out): a location for a #GstBuffer - * @params: (transfer none) (allow-none) parameters. + * @params: (transfer none) (allow-none): parameters. * * Acquire a buffer from @pool. @buffer should point to a memory location that * can hold a pointer to the new buffer. diff --git a/gst/gstmeta.c b/gst/gstmeta.c index 51936a39df..31f3ff1238 100644 --- a/gst/gstmeta.c +++ b/gst/gstmeta.c @@ -150,9 +150,9 @@ gst_meta_api_type_get_tags (GType api) * @api: the type of the #GstMeta API * @impl: the name of the #GstMeta implementation * @size: the size of the #GstMeta structure - * @init_func: (scope async) a #GstMetaInitFunction - * @free_func: (scope async) a #GstMetaFreeFunction - * @transform_func: (scope async) a #GstMetaTransformFunction + * @init_func: (scope async): a #GstMetaInitFunction + * @free_func: (scope async): a #GstMetaFreeFunction + * @transform_func: (scope async): a #GstMetaTransformFunction * * Register a new #GstMeta implementation. * diff --git a/libs/gst/base/gstbaseparse.h b/libs/gst/base/gstbaseparse.h index 6c7dd7123f..73937703d7 100644 --- a/libs/gst/base/gstbaseparse.h +++ b/libs/gst/base/gstbaseparse.h @@ -113,7 +113,7 @@ typedef enum { /** * GstBaseParseFrame: * @buffer: input data to be parsed for frames. - * @out_buffer: (optional) (replacement) output data. + * @out_buffer: output data. * @offset: media specific offset of input frame * Note that a converter may have a different one on the frame's buffer. * @overhead: subclass can set this to indicates the metadata overhead