padtemplate: Fix annotations

gst_caps_replace() does not take ownership of the new caps

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3248>
This commit is contained in:
Seungha Yang 2022-10-22 22:04:57 +09:00
parent 0812c753c6
commit 249790fa59

View 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
*/