summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl/gstglbufferpool.c
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2016-03-06 19:35:38 +1100
committerMatthew Waters <matthew@centricular.com>2016-03-06 19:36:17 +1100
commit23806d4953d9014067105ae2a05dd3ff14fa41b7 (patch)
tree376b9555c303de731c6bda736fb467c40d42530b /gst-libs/gst/gl/gstglbufferpool.c
parentdff43480ee70321609b6dc2072f58edb87f78d11 (diff)
downloadgstreamer-plugins-bad-23806d4953d9014067105ae2a05dd3ff14fa41b7.tar.gz
gl: misc docs fixes/additions
Diffstat (limited to 'gst-libs/gst/gl/gstglbufferpool.c')
-rw-r--r--gst-libs/gst/gl/gstglbufferpool.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglbufferpool.c b/gst-libs/gst/gl/gstglbufferpool.c
index c419ad5f7..90536b037 100644
--- a/gst-libs/gst/gl/gstglbufferpool.c
+++ b/gst-libs/gst/gl/gstglbufferpool.c
@@ -458,6 +458,12 @@ gst_gl_buffer_pool_finalize (GObject * object)
priv->gl_params = NULL;
}
+/**
+ * gst_buffer_pool_config_get_gl_allocation_params:
+ * @config: a buffer pool config
+ *
+ * Returns: (transfer full): the currently set #GstGLAllocationParams or %NULL
+ */
GstGLAllocationParams *
gst_buffer_pool_config_get_gl_allocation_params (GstStructure * config)
{
@@ -470,6 +476,13 @@ gst_buffer_pool_config_get_gl_allocation_params (GstStructure * config)
return ret;
}
+/**
+ * gst_buffer_pool_config_set_gl_allocation_params:
+ * @config: a buffer pool config
+ * @params: (transfer none): a #GstGLAllocationParams
+ *
+ * Sets @params on @config
+ */
void
gst_buffer_pool_config_set_gl_allocation_params (GstStructure * config,
GstGLAllocationParams * params)