diff --git a/gst/rtsp-server/rtsp-media.c b/gst/rtsp-server/rtsp-media.c index 38c38ae8db..e99ecae1fe 100644 --- a/gst/rtsp-server/rtsp-media.c +++ b/gst/rtsp-server/rtsp-media.c @@ -2578,8 +2578,8 @@ conversion_failed: /** * 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. * diff --git a/gst/rtsp-server/rtsp-stream.c b/gst/rtsp-server/rtsp-stream.c index 411498061c..c3b35864d3 100644 --- a/gst/rtsp-server/rtsp-stream.c +++ b/gst/rtsp-server/rtsp-stream.c @@ -4282,8 +4282,8 @@ no_stats: /** * 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. *