mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 13:26:36 +00:00
base: fix some GIR annotations
Mostly related to out parameters and their transfer
This commit is contained in:
parent
ea0f8ebce1
commit
636d6ac37d
7 changed files with 8 additions and 9 deletions
|
@ -1649,7 +1649,7 @@ gst_base_parse_src_event_default (GstBaseParse * parse, GstEvent * event)
|
|||
* @src_format: #GstFormat describing the source format.
|
||||
* @src_value: Source value to be converted.
|
||||
* @dest_format: #GstFormat defining the converted format.
|
||||
* @dest_value: Pointer where the conversion result will be put.
|
||||
* @dest_value: (out): Pointer where the conversion result will be put.
|
||||
*
|
||||
* Default implementation of "convert" vmethod in #GstBaseParse class.
|
||||
*
|
||||
|
|
|
@ -954,7 +954,7 @@ gst_byte_reader_masked_scan_uint32 (const GstByteReader * reader, guint32 mask,
|
|||
* @offset: offset from which to start scanning, relative to the current
|
||||
* position
|
||||
* @size: number of bytes to scan from offset
|
||||
* @value: pointer to uint32 to return matching data
|
||||
* @value: (out): pointer to uint32 to return matching data
|
||||
*
|
||||
* Scan for pattern @pattern with applied mask @mask in the byte reader data,
|
||||
* starting from offset @offset relative to the current position.
|
||||
|
|
|
@ -624,8 +624,7 @@ CREATE_WRITE_STRING_FUNC (32, guint32);
|
|||
/**
|
||||
* gst_byte_writer_put_string_utf8:
|
||||
* @writer: #GstByteWriter instance
|
||||
* @data: (transfer none) (array zero-terminated=1) (type utf8): UTF8 string to
|
||||
* write
|
||||
* @data: (transfer none): UTF8 string to write
|
||||
*
|
||||
* Writes a NUL-terminated UTF8 string to @writer (including the terminator).
|
||||
*
|
||||
|
|
|
@ -482,7 +482,7 @@ gst_collect_pads_set_query_function (GstCollectPads * pads,
|
|||
* @pads: the collectpads to use
|
||||
* @cdata: collect data of corresponding pad
|
||||
* @buf: buffer being clipped
|
||||
* @outbuf: (allow-none): output buffer with running time, or NULL if clipped
|
||||
* @outbuf: (allow-none) (out): output buffer with running time, or NULL if clipped
|
||||
* @user_data: user data (unused)
|
||||
*
|
||||
* Convenience clipping function that converts incoming buffer's timestamp
|
||||
|
|
|
@ -253,7 +253,7 @@ typedef gboolean (*GstCollectPadsQueryFunction) (GstCollectPads *pads, Gs
|
|||
* @pads: a #GstCollectPads
|
||||
* @data: a #GstCollectData
|
||||
* @inbuffer: (transfer full): the input #GstBuffer
|
||||
* @outbuffer: the output #GstBuffer
|
||||
* @outbuffer: (out): the output #GstBuffer
|
||||
* @user_data: user data
|
||||
*
|
||||
* A function that will be called when @inbuffer is received on the pad managed
|
||||
|
|
|
@ -493,8 +493,8 @@ buf_helper_find_suggest (gpointer data, guint probability, GstCaps * caps)
|
|||
/**
|
||||
* gst_type_find_helper_for_data:
|
||||
* @obj: (allow-none): object doing the typefinding, or %NULL (used for logging)
|
||||
* @data: (in) (transfer none): a pointer with data to typefind
|
||||
* @size: (in): the size of @data
|
||||
* @data: (transfer none) (array length=size): * a pointer with data to typefind
|
||||
* @size: the size of @data
|
||||
* @prob: (out) (allow-none): location to store the probability of the found
|
||||
* caps, or %NULL
|
||||
*
|
||||
|
|
|
@ -51,7 +51,7 @@ GstCaps * gst_type_find_helper_for_extension (GstObject * obj,
|
|||
* @parent: (allow-none): the parent of @obj or %NULL
|
||||
* @offset: the offset of the range
|
||||
* @length: the length of the range
|
||||
* @buffer: a memory location to hold the result buffer
|
||||
* @buffer: (out): a memory location to hold the result buffer
|
||||
*
|
||||
* This function will be called by gst_type_find_helper_get_range() when
|
||||
* typefinding functions request to peek at the data of a stream at certain
|
||||
|
|
Loading…
Reference in a new issue