From 249790fa5956e237803ebdc101beffc31befeb06 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Sat, 22 Oct 2022 22:04:57 +0900 Subject: [PATCH] padtemplate: Fix annotations gst_caps_replace() does not take ownership of the new caps Part-of: --- subprojects/gstreamer/gst/gstpadtemplate.c | 4 ++-- 1 file 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 */