mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
rtsp: fix GstRTSPMessage g-i annotations for out parameters
https://bugzilla.gnome.org/show_bug.cgi?id=687620
This commit is contained in:
parent
5f59b4f7ee
commit
6318a4602a
1 changed files with 16 additions and 16 deletions
|
@ -76,7 +76,7 @@ key_value_foreach (GArray * array, GFunc func, gpointer user_data)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_rtsp_message_new:
|
* gst_rtsp_message_new:
|
||||||
* @msg: a location for the new #GstRTSPMessage
|
* @msg: (out) (transfer full): a location for the new #GstRTSPMessage
|
||||||
*
|
*
|
||||||
* Create a new initialized #GstRTSPMessage. Free with gst_rtsp_message_free().
|
* Create a new initialized #GstRTSPMessage. Free with gst_rtsp_message_free().
|
||||||
*
|
*
|
||||||
|
@ -136,7 +136,7 @@ gst_rtsp_message_get_type (GstRTSPMessage * msg)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_rtsp_message_new_request:
|
* gst_rtsp_message_new_request:
|
||||||
* @msg: a location for the new #GstRTSPMessage
|
* @msg: (out) (transfer full): a location for the new #GstRTSPMessage
|
||||||
* @method: the request method to use
|
* @method: the request method to use
|
||||||
* @uri: the uri of the request
|
* @uri: the uri of the request
|
||||||
*
|
*
|
||||||
|
@ -193,9 +193,9 @@ gst_rtsp_message_init_request (GstRTSPMessage * msg, GstRTSPMethod method,
|
||||||
/**
|
/**
|
||||||
* gst_rtsp_message_parse_request:
|
* gst_rtsp_message_parse_request:
|
||||||
* @msg: a #GstRTSPMessage
|
* @msg: a #GstRTSPMessage
|
||||||
* @method: location to hold the method
|
* @method: (out) (allow-none): location to hold the method
|
||||||
* @uri: location to hold the uri
|
* @uri: (out) (allow-none): location to hold the uri
|
||||||
* @version: location to hold the version
|
* @version: (out) (allow-none): location to hold the version
|
||||||
*
|
*
|
||||||
* Parse the request message @msg and store the values @method, @uri and
|
* 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
|
* @version. The result locations can be #NULL if one is not interested in its
|
||||||
|
@ -225,7 +225,7 @@ gst_rtsp_message_parse_request (GstRTSPMessage * msg,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_rtsp_message_new_response:
|
* gst_rtsp_message_new_response:
|
||||||
* @msg: a location for the new #GstRTSPMessage
|
* @msg: (out) (transfer full): a location for the new #GstRTSPMessage
|
||||||
* @code: the status code
|
* @code: the status code
|
||||||
* @reason: the status reason or #NULL
|
* @reason: the status reason or #NULL
|
||||||
* @request: the request that triggered the response or #NULL
|
* @request: the request that triggered the response or #NULL
|
||||||
|
@ -327,9 +327,9 @@ gst_rtsp_message_init_response (GstRTSPMessage * msg, GstRTSPStatusCode code,
|
||||||
/**
|
/**
|
||||||
* gst_rtsp_message_parse_response:
|
* gst_rtsp_message_parse_response:
|
||||||
* @msg: a #GstRTSPMessage
|
* @msg: a #GstRTSPMessage
|
||||||
* @code: location to hold the status code
|
* @code: (out) (allow-none): location to hold the status code
|
||||||
* @reason: location to hold the status reason
|
* @reason: (out) (allow-none): location to hold the status reason
|
||||||
* @version: location to hold the version
|
* @version: (out) (allow-none): location to hold the version
|
||||||
*
|
*
|
||||||
* Parse the response message @msg and store the values @code, @reason and
|
* 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
|
* @version. The result locations can be #NULL if one is not interested in its
|
||||||
|
@ -359,7 +359,7 @@ gst_rtsp_message_parse_response (GstRTSPMessage * msg,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_rtsp_message_new_data:
|
* gst_rtsp_message_new_data:
|
||||||
* @msg: a location for the new #GstRTSPMessage
|
* @msg: (out) (transfer full): a location for the new #GstRTSPMessage
|
||||||
* @channel: the channel
|
* @channel: the channel
|
||||||
*
|
*
|
||||||
* Create a new data #GstRTSPMessage with @channel and store the
|
* Create a new data #GstRTSPMessage with @channel and store the
|
||||||
|
@ -406,7 +406,7 @@ gst_rtsp_message_init_data (GstRTSPMessage * msg, guint8 channel)
|
||||||
/**
|
/**
|
||||||
* gst_rtsp_message_parse_data:
|
* gst_rtsp_message_parse_data:
|
||||||
* @msg: a #GstRTSPMessage
|
* @msg: a #GstRTSPMessage
|
||||||
* @channel: location to hold the channel
|
* @channel: (out): location to hold the channel
|
||||||
*
|
*
|
||||||
* Parse the data message @msg and store the channel in @channel.
|
* Parse the data message @msg and store the channel in @channel.
|
||||||
*
|
*
|
||||||
|
@ -583,7 +583,7 @@ gst_rtsp_message_remove_header (GstRTSPMessage * msg, GstRTSPHeaderField field,
|
||||||
* gst_rtsp_message_get_header:
|
* gst_rtsp_message_get_header:
|
||||||
* @msg: a #GstRTSPMessage
|
* @msg: a #GstRTSPMessage
|
||||||
* @field: a #GstRTSPHeaderField
|
* @field: a #GstRTSPHeaderField
|
||||||
* @value: pointer to hold the result
|
* @value: (out) (transfer none): pointer to hold the result
|
||||||
* @indx: the index of the header
|
* @indx: the index of the header
|
||||||
*
|
*
|
||||||
* Get the @indx header value with key @field from @msg. The result in @value
|
* Get the @indx header value with key @field from @msg. The result in @value
|
||||||
|
@ -696,8 +696,8 @@ gst_rtsp_message_take_body (GstRTSPMessage * msg, guint8 * data, guint size)
|
||||||
/**
|
/**
|
||||||
* gst_rtsp_message_get_body:
|
* gst_rtsp_message_get_body:
|
||||||
* @msg: a #GstRTSPMessage
|
* @msg: a #GstRTSPMessage
|
||||||
* @data: location for the data
|
* @data: (out) (transfer none) (array length=size): location for the data
|
||||||
* @size: location for the size of @data
|
* @size: (out): location for the size of @data
|
||||||
*
|
*
|
||||||
* Get the body of @msg. @data remains valid for as long as @msg is valid and
|
* Get the body of @msg. @data remains valid for as long as @msg is valid and
|
||||||
* unchanged.
|
* unchanged.
|
||||||
|
@ -721,8 +721,8 @@ gst_rtsp_message_get_body (const GstRTSPMessage * msg, guint8 ** data,
|
||||||
/**
|
/**
|
||||||
* gst_rtsp_message_steal_body:
|
* gst_rtsp_message_steal_body:
|
||||||
* @msg: a #GstRTSPMessage
|
* @msg: a #GstRTSPMessage
|
||||||
* @data: location for the data
|
* @data: (out) (transfer full) (array length=size): location for the data
|
||||||
* @size: location for the size of @data
|
* @size: (out): location for the size of @data
|
||||||
*
|
*
|
||||||
* Take the body of @msg and store it in @data and @size. After this method,
|
* Take the body of @msg and store it in @data and @size. After this method,
|
||||||
* the body and size of @msg will be set to #NULL and 0 respectively.
|
* the body and size of @msg will be set to #NULL and 0 respectively.
|
||||||
|
|
Loading…
Reference in a new issue