summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2017-01-10 15:35:52 +1100
committerMatthew Waters <matthew@centricular.com>2017-01-10 15:35:52 +1100
commita20d06430411f18942ac24db250c184a13ba9a3e (patch)
tree41b2c5e214a9c137f6d259af2453efe354fb09ef
parent01cf3547dda4eeedeb6995d2151cda39b1b316ab (diff)
downloadgstreamer-plugins-bad-a20d06430411f18942ac24db250c184a13ba9a3e.tar.gz
gldisplay: some annotation updates/typo fixes
-rw-r--r--gst-libs/gst/gl/gstgldisplay.c9
-rw-r--r--gst-libs/gst/gl/gstgldisplay.h2
2 files changed, 6 insertions, 5 deletions
diff --git a/gst-libs/gst/gl/gstgldisplay.c b/gst-libs/gst/gl/gstgldisplay.c
index b96e1b592..0c83cb952 100644
--- a/gst-libs/gst/gl/gstgldisplay.c
+++ b/gst-libs/gst/gl/gstgldisplay.c
@@ -521,7 +521,7 @@ gst_gl_display_create_context (GstGLDisplay * display,
*
* It requires the display's object lock to be held.
*
- * Returns: a new #GstGLWindow for @display or %NULL.
+ * Returns: (transfer full): a new #GstGLWindow for @display or %NULL.
*/
GstGLWindow *
gst_gl_display_create_window (GstGLDisplay * display)
@@ -576,14 +576,15 @@ gst_gl_display_remove_window (GstGLDisplay * display, GstGLWindow * window)
/**
* gst_gl_display_find_window:
* @display: a #GstGLDisplay
- * @data: some data to pass to @compare_func
- * @compare_func: a comparison function to run
+ * @data: (closure): some data to pass to @compare_func
+ * @compare_func: (scope call): a comparison function to run
*
* Execute @compare_func over the list of windows stored by @display. The
* first argment to @compare_func is the #GstGLWindow being checked and the
* second argument is @data.
*
- * Returns: The first #GstGLWindow that causes a match from @compare_func
+ * Returns: (transfer none): The first #GstGLWindow that causes a match
+ * from @compare_func
*
* Since: 1.12
*/
diff --git a/gst-libs/gst/gl/gstgldisplay.h b/gst-libs/gst/gl/gstgldisplay.h
index 5c0cc9ea1..2dd275d0d 100644
--- a/gst-libs/gst/gl/gstgldisplay.h
+++ b/gst-libs/gst/gl/gstgldisplay.h
@@ -134,7 +134,7 @@ gboolean gst_gl_display_add_context (GstGLDisplay * display,
GstGLWindow * gst_gl_display_create_window (GstGLDisplay * display);
gboolean gst_gl_display_remove_window (GstGLDisplay * display, GstGLWindow * window);
-GstGLWindow * gst_gl_display_find_window (GstGLDisplay * display, gpointer data, GCompareFunc compar_func);
+GstGLWindow * gst_gl_display_find_window (GstGLDisplay * display, gpointer data, GCompareFunc compare_func);
G_END_DECLS