mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
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:
parent
0812c753c6
commit
249790fa59
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue