mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
vaapivideocontext: add inline documentation
Document function gst_vaapi_find_gl_local_context(). https://bugzilla.gnome.org/show_bug.cgi?id=788503
This commit is contained in:
parent
6b2b1294f8
commit
1135e8bd31
1 changed files with 12 additions and 0 deletions
|
@ -261,6 +261,18 @@ gst_vaapi_video_context_propagate (GstElement * element,
|
||||||
GST_CAT_INFO_OBJECT (GST_CAT_CONTEXT, element, "No bus attached");
|
GST_CAT_INFO_OBJECT (GST_CAT_CONTEXT, element, "No bus attached");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gst_vaapi_find_gl_local_context:
|
||||||
|
* @element: the #GstElement where the search begins
|
||||||
|
* @gl_context_ptr: the pointer where the GstGL context is going to be
|
||||||
|
* stored
|
||||||
|
* @direction_ptr: the pointer of the #GstPadDirection where the GstGL
|
||||||
|
* context was found
|
||||||
|
*
|
||||||
|
* Query the pipeline, downstream and upstream for a GstGL context
|
||||||
|
*
|
||||||
|
* Returns: %TRUE if found; otherwise %FALSE
|
||||||
|
**/
|
||||||
gboolean
|
gboolean
|
||||||
gst_vaapi_find_gl_local_context (GstElement * element,
|
gst_vaapi_find_gl_local_context (GstElement * element,
|
||||||
GstObject ** gl_context_ptr, GstPadDirection * direction_ptr)
|
GstObject ** gl_context_ptr, GstPadDirection * direction_ptr)
|
||||||
|
|
Loading…
Reference in a new issue