Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3752>
/**
* 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.
/**
* 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