And the same for gst_rtsp_stream_get_rates().
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/118>
/**
* gst_rtsp_media_get_rates:
* @media: a #GstRTSPMedia
- * @rate (allow-none): the rate of the current segment
- * @applied_rate (allow-none): the applied_rate of the current segment
+ * @rate: (optional) (out caller-allocates): the rate of the current segment
+ * @applied_rate: (optional) (out caller-allocates): the applied_rate of the current segment
*
* Get the rate and applied_rate of the current segment.
*
/**
* gst_rtsp_stream_get_rates:
* @stream: a #GstRTSPStream
- * @rate: (allow-none): the configured rate
- * @applied_rate: (allow-none): the configured applied_rate
+ * @rate: (optional) (out caller-allocates): the configured rate
+ * @applied_rate: (optional) (out caller-allocates): the configured applied_rate
*
* Retrieve the current rate and/or applied_rate.
*