gstglutils: introspection annotations fixups

* gst_gl_ensure_element_data: specify the type for the element arg

* gst_gl_handle_set_context: correctly annotate the display and
gl_ctx as just (out) instead of (inout)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1501>
This commit is contained in:
Jordan Petridis 2022-01-07 14:17:46 +02:00 committed by GStreamer Marge Bot
parent 5905955cc3
commit 86a62d94ed

View file

@ -245,7 +245,7 @@ gst_gl_element_propagate_display_context (GstElement * element,
/**
* gst_gl_ensure_element_data:
* @element: the #GstElement running the query
* @element: (type Gst.Element): the #GstElement running the query
* @display_ptr: (inout): the resulting #GstGLDisplay
* @other_context_ptr: (inout): the resulting #GstGLContext
*
@ -312,8 +312,8 @@ done:
* gst_gl_handle_set_context:
* @element: a #GstElement
* @context: a #GstContext
* @display: (inout) (transfer full): location of a #GstGLDisplay
* @other_context: (inout) (transfer full): location of a #GstGLContext
* @display: (out) (transfer full): location of a #GstGLDisplay
* @other_context: (out) (transfer full): location of a #GstGLContext
*
* Helper function for implementing #GstElementClass.set_context() in
* OpenGL capable elements.