mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
gldisplay: Mark gst_gl_display_create_context()
other_context
parameter as nullable
See https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/438 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3835>
This commit is contained in:
parent
cba521bc18
commit
0474720c8b
2 changed files with 3 additions and 3 deletions
|
@ -1019,8 +1019,8 @@ gst_gl_context_can_share (GstGLContext * context, GstGLContext * other_context)
|
|||
/**
|
||||
* gst_gl_context_create:
|
||||
* @context: a #GstGLContext:
|
||||
* @other_context: (allow-none): a #GstGLContext to share OpenGL objects with
|
||||
* @error: (allow-none): a #GError
|
||||
* @other_context: (nullable): a #GstGLContext to share OpenGL objects with
|
||||
* @error: a #GError
|
||||
*
|
||||
* Creates an OpenGL context with the specified @other_context as a context
|
||||
* to share shareable OpenGL objects with. See the OpenGL specification for
|
||||
|
|
|
@ -620,7 +620,7 @@ gst_context_get_gl_display (GstContext * context, GstGLDisplay ** display)
|
|||
/**
|
||||
* gst_gl_display_create_context:
|
||||
* @display: a #GstGLDisplay
|
||||
* @other_context: (transfer none): other #GstGLContext to share resources with.
|
||||
* @other_context: (transfer none) (nullable): other #GstGLContext to share resources with.
|
||||
* @p_context: (transfer full) (out): resulting #GstGLContext
|
||||
* @error: resulting #GError
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue