padtemplate: Fix annotations
authorSeungha Yang <seungha@centricular.com>
Sat, 22 Oct 2022 13:04:57 +0000 (22:04 +0900)
committerSeungha Yang <seungha@centricular.com>
Sat, 22 Oct 2022 13:06:13 +0000 (22:06 +0900)
gst_caps_replace() does not take ownership of the new caps

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3248>

subprojects/gstreamer/gst/gstpadtemplate.c

index 473aa55..d37aeb9 100644 (file)
@@ -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
  */