From: Peter Kjellerstedt Date: Tue, 10 Feb 2009 16:37:06 +0000 (+0100) Subject: gstrtspmessage: Minor documentation correction. X-Git-Tag: 1.19.3~511^2~10025 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=430eea30168d6ebefe51b1bd9074821019681bd3;p=platform%2Fupstream%2Fgstreamer.git gstrtspmessage: Minor documentation correction. Corrected documentation about what needs to be freed after calling gst_rtsp_message_new(), gst_rtsp_message_new_request(), gst_rtsp_message_new_response() and gst_rtsp_message_new_data(). --- diff --git a/gst-libs/gst/rtsp/gstrtspmessage.c b/gst-libs/gst/rtsp/gstrtspmessage.c index f15dad8..6f25e9d 100644 --- a/gst-libs/gst/rtsp/gstrtspmessage.c +++ b/gst-libs/gst/rtsp/gstrtspmessage.c @@ -81,9 +81,9 @@ key_value_foreach (GArray * array, GFunc func, gpointer user_data) * gst_rtsp_message_new: * @msg: a location for the new #GstRTSPMessage * - * Create a new initialized #GstRTSPMessage. + * Create a new initialized #GstRTSPMessage. Free with gst_rtsp_message_free(). * - * Returns: a #GstRTSPResult. Free with gst_rtsp_message_free(). + * Returns: a #GstRTSPResult. */ GstRTSPResult gst_rtsp_message_new (GstRTSPMessage ** msg) @@ -144,9 +144,9 @@ gst_rtsp_message_get_type (GstRTSPMessage * msg) * @uri: the uri of the request * * Create a new #GstRTSPMessage with @method and @uri and store the result - * request message in @msg. + * request message in @msg. Free with gst_rtsp_message_free(). * - * Returns: a #GstRTSPResult. Free with gst_rtsp_message_free(). + * Returns: a #GstRTSPResult. */ GstRTSPResult gst_rtsp_message_new_request (GstRTSPMessage ** msg, GstRTSPMethod method, @@ -233,14 +233,14 @@ gst_rtsp_message_parse_request (GstRTSPMessage * msg, * @request: the request that triggered the response or #NULL * * Create a new response #GstRTSPMessage with @code and @reason and store the - * result message in @msg. + * result message in @msg. Free with gst_rtsp_message_free(). * * When @reason is #NULL, the default reason for @code will be used. * * When @request is not #NULL, the relevant headers will be copied to the new * response message. * - * Returns: a #GstRTSPResult. Free with gst_rtsp_message_free(). + * Returns: a #GstRTSPResult. */ GstRTSPResult gst_rtsp_message_new_response (GstRTSPMessage ** msg, GstRTSPStatusCode code, @@ -358,9 +358,9 @@ gst_rtsp_message_parse_response (GstRTSPMessage * msg, * @channel: the channel * * Create a new data #GstRTSPMessage with @channel and store the - * result message in @msg. + * result message in @msg. Free with gst_rtsp_message_free(). * - * Returns: a #GstRTSPResult. Free with gst_rtsp_message_free(). + * Returns: a #GstRTSPResult. */ GstRTSPResult gst_rtsp_message_new_data (GstRTSPMessage ** msg, guint8 channel)