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:
Víctor Manuel Jáquez Leal 2017-10-04 11:52:32 +02:00
parent 6b2b1294f8
commit 1135e8bd31

View file

@ -261,6 +261,18 @@ gst_vaapi_video_context_propagate (GstElement * element,
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
gst_vaapi_find_gl_local_context (GstElement * element,
GstObject ** gl_context_ptr, GstPadDirection * direction_ptr)