From 6a210b53e31435ca31136734cca439423768fcc4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 19 Jan 2023 16:01:21 +0200 Subject: [PATCH] gst: Mark caps parameters in ALLOCATION query API as nullable Part-of: --- subprojects/gstreamer/gst/gstquery.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gstreamer/gst/gstquery.c b/subprojects/gstreamer/gst/gstquery.c index 1c6da5d..106c450 100644 --- a/subprojects/gstreamer/gst/gstquery.c +++ b/subprojects/gstreamer/gst/gstquery.c @@ -1530,7 +1530,7 @@ gst_query_parse_uri_redirection_permanent (GstQuery * query, /** * gst_query_new_allocation: - * @caps: the negotiated caps + * @caps: (nullable): the negotiated caps * @need_pool: return a pool * * Constructs a new query object for querying the allocation properties. @@ -1557,7 +1557,7 @@ gst_query_new_allocation (GstCaps * caps, gboolean need_pool) /** * gst_query_parse_allocation: * @query: a #GstQuery - * @caps: (out) (transfer none) (optional): The #GstCaps + * @caps: (out) (transfer none) (optional) (nullable): The #GstCaps * @need_pool: (out) (optional): Whether a #GstBufferPool is needed * * Parse an allocation query, writing the requested caps in @caps and -- 2.7.4