Commit 710990d5 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

gl: fix some GIR annotations

Mostly related to out and array parameters
parent 1beff3bd
......@@ -465,7 +465,7 @@ gst_context_set_gl_display (GstContext * context, GstGLDisplay * display)
/**
* gst_context_get_gl_display:
* @context: a #GstContext
* @display: (transfer full): resulting #GstGLDisplay
* @display: (out) (transfer full): resulting #GstGLDisplay
*
* Returns: Whether @display was in @context
*
......
......@@ -1425,8 +1425,10 @@ gst_gl_video_allocation_params_copy_data (GstGLVideoAllocationParams * src_vid,
* @allocator: the @GstGLMemoryAllocator to allocate from
* @buffer: a #GstBuffer to setup
* @params: the #GstGLVideoAllocationParams to allocate with
* @tex_formats: (allow-none): a list of #GstGLFormat's to allocate with.
* @wrapped_data: a list of wrapped data pointers
* @tex_formats: (allow-none) (array length=n_wrapped_pointers):
* a list of #GstGLFormat's to allocate with.
* @wrapped_data: (array length=n_wrapped_pointers) (element-type gpointer):
* a list of wrapped data pointers
* @n_wrapped_pointers: the number of elements in @tex_formats and @wrapped_data
*
* Returns: whether the buffer was correctly setup
......
......@@ -195,7 +195,8 @@ _ensure_shader (GstGLSLStage * stage)
* @version: the #GstGLSLVersion
* @profile: the #GstGLSLProfile
* @n_strings: the number of strings in @str
* @str: an array of strings concatted together to produce a shader
* @str: (array length=n_strings):
* an array of strings concatted together to produce a shader
*
* Returns: (transfer floating): a new #GstGLSLStage of the specified @type
*
......@@ -304,7 +305,7 @@ gst_glsl_stage_new_default_fragment (GstGLContext * context)
* @version: a #GstGLSLVersion
* @profile: a #GstGLSLProfile
* @n_strings: number of strings in @str
* @str: (transfer none): a GLSL shader string
* @str: (array length=n_strings) (transfer none): a GLSL shader string
*
* Replaces the current shader string with @str.
*
......
......@@ -1784,7 +1784,7 @@ _upload_find_method (GstGLUpload * upload)
* gst_gl_upload_perform_with_buffer:
* @upload: a #GstGLUpload
* @buffer: input #GstBuffer
* @outbuf_ptr: resulting #GstBuffer
* @outbuf_ptr: (out): resulting #GstBuffer
*
* Uploads @buffer using the transformation specified by
* gst_gl_upload_set_caps() creating a new #GstBuffer in @outbuf_ptr.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment