From 64a46d47ba73e94838ba03317d72c2f02f2ce429 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 7 Dec 2017 16:08:29 +0100 Subject: rtsp-server: Minor doc fixes Mostly for g-i --- gst/rtsp-server/rtsp-media.c | 2 +- gst/rtsp-server/rtsp-session-media.c | 4 ++-- gst/rtsp-server/rtsp-stream.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gst/rtsp-server/rtsp-media.c b/gst/rtsp-server/rtsp-media.c index 5cd8d65..cebd75f 100644 --- a/gst/rtsp-server/rtsp-media.c +++ b/gst/rtsp-server/rtsp-media.c @@ -4062,7 +4062,7 @@ gst_rtsp_media_seekable (GstRTSPMedia * media) /** * gst_rtsp_media_complete_pipeline: * @media: a #GstRTSPMedia - * @transports: a list of #GstRTSPTransport + * @transports: (element-type GstRTSPTransport): a list of #GstRTSPTransport * * Add a receiver and sender parts to the pipeline based on the transport from * SETUP. diff --git a/gst/rtsp-server/rtsp-session-media.c b/gst/rtsp-server/rtsp-session-media.c index bb0dd8d..0aaf543 100644 --- a/gst/rtsp-server/rtsp-session-media.c +++ b/gst/rtsp-server/rtsp-session-media.c @@ -413,8 +413,8 @@ gst_rtsp_session_media_get_transport (GstRTSPSessionMedia * media, guint idx) * * Get a list of all available #GstRTSPStreamTransport in this session. * - * Returns: (transfer full): a list of #GstRTSPStreamTransport, - * g_ptr_array_unref () after usage. + * Returns: (transfer full) (element-type GstRTSPStreamTransport): a + * list of #GstRTSPStreamTransport, g_ptr_array_unref () after usage. */ GPtrArray * gst_rtsp_session_media_get_transports (GstRTSPSessionMedia * media) diff --git a/gst/rtsp-server/rtsp-stream.c b/gst/rtsp-server/rtsp-stream.c index 94d6197..d8d951b 100644 --- a/gst/rtsp-server/rtsp-stream.c +++ b/gst/rtsp-server/rtsp-stream.c @@ -1483,7 +1483,7 @@ cleanup: * @stream: a #GstRTSPStream * @family: protocol family * @transport: transport method - * @use_client_setttings: Whether to use client settings or not + * @use_client_settings: Whether to use client settings or not * * Allocates RTP and RTCP ports. * -- cgit v1.2.3