diff --git a/gst-libs/gst/rtsp/gstrtspconnection.c b/gst-libs/gst/rtsp/gstrtspconnection.c index bde854c834..326d38410c 100644 --- a/gst-libs/gst/rtsp/gstrtspconnection.c +++ b/gst-libs/gst/rtsp/gstrtspconnection.c @@ -2751,8 +2751,8 @@ gst_rtsp_connection_set_ip (GstRTSPConnection * conn, const gchar * ip) * * Get the file descriptor for reading. * - * Returns: the file descriptor used for reading or %NULL on error. The file - * descriptor remains valid until the connection is closed. + * Returns: (transfer none): the file descriptor used for reading or %NULL on + * error. The file descriptor remains valid until the connection is closed. */ GSocket * gst_rtsp_connection_get_read_socket (const GstRTSPConnection * conn) @@ -2769,8 +2769,8 @@ gst_rtsp_connection_get_read_socket (const GstRTSPConnection * conn) * * Get the file descriptor for writing. * - * Returns: the file descriptor used for writing or NULL on error. The file - * descriptor remains valid until the connection is closed. + * Returns: (transfer none): the file descriptor used for writing or NULL on + * error. The file descriptor remains valid until the connection is closed. */ GSocket * gst_rtsp_connection_get_write_socket (const GstRTSPConnection * conn) diff --git a/gst-libs/gst/rtsp/gstrtsptransport.c b/gst-libs/gst/rtsp/gstrtsptransport.c index 08a4e667ec..963a070df5 100644 --- a/gst-libs/gst/rtsp/gstrtsptransport.c +++ b/gst-libs/gst/rtsp/gstrtsptransport.c @@ -273,7 +273,7 @@ gst_rtsp_transport_get_mime (GstRTSPTransMode trans, const gchar ** mime) /** * gst_rtsp_transport_get_media_type: * @transport: a #GstRTSPTransport - * @media_type: media type of @transport + * @media_type: (out): media type of @transport * * Get the media type of @transport. This media type is typically * used to generate #GstCaps events. diff --git a/gst-libs/gst/rtsp/gstrtspurl.c b/gst-libs/gst/rtsp/gstrtspurl.c index 654f2aa514..700ac0b9e0 100644 --- a/gst-libs/gst/rtsp/gstrtspurl.c +++ b/gst-libs/gst/rtsp/gstrtspurl.c @@ -393,7 +393,8 @@ unescape_path_component (gchar * comp) * Also note that since paths usually start with a slash, the first component * will usually be the empty string. * - * Returns: a string vector. g_strfreev() after usage. + * Returns: (transfer full): %NULL-terminated array of URL components. Free with + * g_strfreev() when no longer needed. */ gchar ** gst_rtsp_url_decode_path_components (const GstRTSPUrl * url) diff --git a/gst-libs/gst/video/video-format.c b/gst-libs/gst/video/video-format.c index 6d96b5651d..69e75b8e67 100644 --- a/gst-libs/gst/video/video-format.c +++ b/gst-libs/gst/video/video-format.c @@ -2776,8 +2776,8 @@ gst_video_format_get_info (GstVideoFormat format) * Get the default palette of @format. This the palette used in the pack * function for paletted formats. * - * Returns: the default palette of @format or %NULL when @format does not have a - * palette. + * Returns: (transfer none): the default palette of @format or %NULL when + * @format does not have a palette. * * Since: 1.2 */