Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gstreamer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2022-10-22 16:04:57 +0300
committerTim-Philipp Müller <tim@centricular.com>2022-10-25 12:12:21 +0300
commit8a7ae995676a6a46b704edf7e4ca5160d03c36f5 (patch)
tree273ad22eee6b365b8c42596ff6f456080e44a2aa
parentccd032c569442e2777c311b75a13085a40bda1fb (diff)
padtemplate: Fix annotations
gst_caps_replace() does not take ownership of the new caps Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3262>
-rw-r--r--subprojects/gstreamer/gst/gstpadtemplate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/subprojects/gstreamer/gst/gstpadtemplate.c b/subprojects/gstreamer/gst/gstpadtemplate.c
index 473aa55d9f..d37aeb9c8a 100644
--- a/subprojects/gstreamer/gst/gstpadtemplate.c
+++ b/subprojects/gstreamer/gst/gstpadtemplate.c
@@ -483,7 +483,7 @@ gst_pad_template_get_caps (GstPadTemplate * templ)
/**
* gst_pad_template_set_documentation_caps:
* @templ: the pad template to set documented capabilities on
- * @caps: (transfer full): the documented capabilities
+ * @caps: (transfer none): the documented capabilities
*
* Certain elements will dynamically construct the caps of their
* pad templates. In order not to let environment-specific information
@@ -510,7 +510,7 @@ gst_pad_template_set_documentation_caps (GstPadTemplate * templ, GstCaps * caps)
*
* See gst_pad_template_set_documentation_caps().
*
- * Returns: The caps to document. For convenience, this will return
+ * Returns: (transfer full): The caps to document. For convenience, this will return
* gst_pad_template_get_caps() when no documentation caps were set.
* Since: 1.18
*/