Commit 31061ada authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

rtsp: fix some GIR annotations

Mostly related to out and array parameters.
parent fe6f65b1
......@@ -229,8 +229,8 @@ gst_rtsp_message_init_request (GstRTSPMessage * msg, GstRTSPMethod method,
* gst_rtsp_message_parse_request:
* @msg: a #GstRTSPMessage
* @method: (out) (allow-none): location to hold the method
* @uri: (out) (allow-none): location to hold the uri
* @version: (out) (allow-none): location to hold the version
* @uri: (out) (allow-none) (transfer none): location to hold the uri
* @version: (out) (allow-none) (transfer none): location to hold the version
*
* Parse the request message @msg and store the values @method, @uri and
* @version. The result locations can be %NULL if one is not interested in its
......@@ -363,8 +363,8 @@ gst_rtsp_message_init_response (GstRTSPMessage * msg, GstRTSPStatusCode code,
* gst_rtsp_message_parse_response:
* @msg: a #GstRTSPMessage
* @code: (out) (allow-none): location to hold the status code
* @reason: (out) (allow-none): location to hold the status reason
* @version: (out) (allow-none): location to hold the version
* @reason: (out) (allow-none) (transfer none): location to hold the status reason
* @version: (out) (allow-none) (transfer none): location to hold the version
*
* Parse the response message @msg and store the values @code, @reason and
* @version. The result locations can be %NULL if one is not interested in its
......@@ -1277,7 +1277,8 @@ parse_auth_credentials (GPtrArray * auth_credentials, const gchar * header,
*
* Parses the credentials given in a WWW-Authenticate or Authorization header.
*
* Returns: %NULL-terminated array of GstRTSPAuthCredential or %NULL.
* Returns: (array zero-terminated=1):
* %NULL-terminated array of GstRTSPAuthCredential or %NULL.
*
* Since: 1.12
*/
......
......@@ -254,7 +254,7 @@ done:
/**
* gst_rtsp_range_parse:
* @rangestr: a range string to parse
* @range: location to hold the #GstRTSPTimeRange result
* @range: (out): location to hold the #GstRTSPTimeRange result
*
* Parse @rangestr to a #GstRTSPTimeRange.
*
......@@ -562,8 +562,8 @@ get_time (GstRTSPRangeUnit unit, const GstRTSPTime * t1,
/**
* gst_rtsp_range_get_times:
* @range: a #GstRTSPTimeRange
* @min: result minimum #GstClockTime
* @max: result maximum #GstClockTime
* @min: (out): result minimum #GstClockTime
* @max: (out): result maximum #GstClockTime
*
* Retrieve the minimum and maximum values from @range converted to
* #GstClockTime in @min and @max.
......
......@@ -276,7 +276,7 @@ get_default_lower_trans (GstRTSPTransport * transport)
/**
* gst_rtsp_transport_get_manager:
* @trans: a #GstRTSPTransMode
* @manager: location to hold the result
* @manager: (out) (nullable) (transfer none): location to hold the result
* @option: option index.
*
* Get the #GstElement that can handle the buffers transported over @trans.
......
......@@ -284,7 +284,7 @@ gst_rtsp_url_set_port (GstRTSPUrl * url, guint16 port)
/**
* gst_rtsp_url_get_port:
* @url: a #GstRTSPUrl
* @port: location to hold the port
* @port: (out): location to hold the port
*
* Get the port number of @url.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment