From 802a648723b77fe726fa14dd5846d6b0af960cad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 23 Apr 2019 14:38:05 +0300 Subject: [PATCH] rtsp-server: Add various missing Since: 1.16 markers --- gst/rtsp-server/rtsp-media-factory.c | 8 ++++++++ gst/rtsp-server/rtsp-media.c | 8 ++++++++ gst/rtsp-server/rtsp-stream-transport.c | 2 ++ gst/rtsp-server/rtsp-stream.c | 11 +++++++++++ 4 files changed, 29 insertions(+) diff --git a/gst/rtsp-server/rtsp-media-factory.c b/gst/rtsp-server/rtsp-media-factory.c index 27825e02da..58c8d39ebc 100644 --- a/gst/rtsp-server/rtsp-media-factory.c +++ b/gst/rtsp-server/rtsp-media-factory.c @@ -1511,6 +1511,8 @@ gst_rtsp_media_factory_get_publish_clock_mode (GstRTSPMediaFactory * factory) * Set the maximum time-to-live value of outgoing multicast packets. * * Returns: %TRUE if the requested ttl has been set successfully. + * + * Since: 1.16 */ gboolean gst_rtsp_media_factory_set_max_mcast_ttl (GstRTSPMediaFactory * factory, @@ -1541,6 +1543,8 @@ gst_rtsp_media_factory_set_max_mcast_ttl (GstRTSPMediaFactory * factory, * Get the the maximum time-to-live value of outgoing multicast packets. * * Returns: the maximum time-to-live value of outgoing multicast packets. + * + * Since: 1.16 */ guint gst_rtsp_media_factory_get_max_mcast_ttl (GstRTSPMediaFactory * factory) @@ -1566,6 +1570,8 @@ gst_rtsp_media_factory_get_max_mcast_ttl (GstRTSPMediaFactory * factory) * * Decide whether the multicast socket should be bound to a multicast address or * INADDR_ANY. + * + * Since: 1.16 */ void gst_rtsp_media_factory_set_bind_mcast_address (GstRTSPMediaFactory * factory, @@ -1589,6 +1595,8 @@ gst_rtsp_media_factory_set_bind_mcast_address (GstRTSPMediaFactory * factory, * Check if multicast sockets are configured to be bound to multicast addresses. * * Returns: %TRUE if multicast sockets are configured to be bound to multicast addresses. + * + * Since: 1.16 */ gboolean gst_rtsp_media_factory_is_bind_mcast_address (GstRTSPMediaFactory * factory) diff --git a/gst/rtsp-server/rtsp-media.c b/gst/rtsp-server/rtsp-media.c index 719f284e9b..141cba91f9 100644 --- a/gst/rtsp-server/rtsp-media.c +++ b/gst/rtsp-server/rtsp-media.c @@ -1869,6 +1869,8 @@ gst_rtsp_media_get_multicast_iface (GstRTSPMedia * media) * Set the maximum time-to-live value of outgoing multicast packets. * * Returns: %TRUE if the requested ttl has been set successfully. + * + * Since: 1.16 */ gboolean gst_rtsp_media_set_max_mcast_ttl (GstRTSPMedia * media, guint ttl) @@ -1907,6 +1909,8 @@ gst_rtsp_media_set_max_mcast_ttl (GstRTSPMedia * media, guint ttl) * Get the the maximum time-to-live value of outgoing multicast packets. * * Returns: the maximum time-to-live value of outgoing multicast packets. + * + * Since: 1.16 */ guint gst_rtsp_media_get_max_mcast_ttl (GstRTSPMedia * media) @@ -1932,6 +1936,8 @@ gst_rtsp_media_get_max_mcast_ttl (GstRTSPMedia * media) * * Decide whether the multicast socket should be bound to a multicast address or * INADDR_ANY. + * + * Since: 1.16 */ void gst_rtsp_media_set_bind_mcast_address (GstRTSPMedia * media, @@ -1960,6 +1966,8 @@ gst_rtsp_media_set_bind_mcast_address (GstRTSPMedia * media, * Check if multicast sockets are configured to be bound to multicast addresses. * * Returns: %TRUE if multicast sockets are configured to be bound to multicast addresses. + * + * Since: 1.16 */ gboolean gst_rtsp_media_is_bind_mcast_address (GstRTSPMedia * media) diff --git a/gst/rtsp-server/rtsp-stream-transport.c b/gst/rtsp-server/rtsp-stream-transport.c index 7c439e28a9..1791034c39 100644 --- a/gst/rtsp-server/rtsp-stream-transport.c +++ b/gst/rtsp-server/rtsp-stream-transport.c @@ -682,6 +682,8 @@ gst_rtsp_stream_transport_keep_alive (GstRTSPStreamTransport * trans) * @trans: a #GstRTSPStreamTransport * * Signal the installed message_sent callback for @trans. + * + * Since: 1.16 */ void gst_rtsp_stream_transport_message_sent (GstRTSPStreamTransport * trans) diff --git a/gst/rtsp-server/rtsp-stream.c b/gst/rtsp-server/rtsp-stream.c index e6ba6c1d59..ce4c70c89d 100644 --- a/gst/rtsp-server/rtsp-stream.c +++ b/gst/rtsp-server/rtsp-stream.c @@ -2107,6 +2107,7 @@ gst_rtsp_stream_get_buffer_size (GstRTSPStream * stream) * * Returns: %TRUE if the requested ttl has been set successfully. * + * Since: 1.16 */ gboolean gst_rtsp_stream_set_max_mcast_ttl (GstRTSPStream * stream, guint ttl) @@ -2133,6 +2134,7 @@ gst_rtsp_stream_set_max_mcast_ttl (GstRTSPStream * stream, guint ttl) * * Returns: the maximum time-to-live value of outgoing multicast packets. * + * Since: 1.16 */ guint gst_rtsp_stream_get_max_mcast_ttl (GstRTSPStream * stream) @@ -2155,6 +2157,7 @@ gst_rtsp_stream_get_max_mcast_ttl (GstRTSPStream * stream) * * Returns: TRUE if the requested ttl value is allowed. * + * Since: 1.16 */ gboolean gst_rtsp_stream_verify_mcast_ttl (GstRTSPStream * stream, guint ttl) @@ -2176,6 +2179,8 @@ gst_rtsp_stream_verify_mcast_ttl (GstRTSPStream * stream, guint ttl) * * Decide whether the multicast socket should be bound to a multicast address or * INADDR_ANY. + * + * Since: 1.16 */ void gst_rtsp_stream_set_bind_mcast_address (GstRTSPStream * stream, @@ -2195,6 +2200,8 @@ gst_rtsp_stream_set_bind_mcast_address (GstRTSPStream * stream, * Check if multicast sockets are configured to be bound to multicast addresses. * * Returns: %TRUE if multicast sockets are configured to be bound to multicast addresses. + * + * Since: 1.16 */ gboolean gst_rtsp_stream_is_bind_mcast_address (GstRTSPStream * stream) @@ -4712,6 +4719,8 @@ gst_rtsp_stream_get_rtcp_multicast_socket (GstRTSPStream * stream, * allocated. * * Returns: %TRUE if @destination can be addedd and handled by @stream. + * + * Since: 1.16 */ gboolean gst_rtsp_stream_add_multicast_client_address (GstRTSPStream * stream, @@ -4760,6 +4769,8 @@ add_addr_error: * Get all multicast client addresses that RTP data will be sent to * * Returns: A comma separated list of host:port pairs with destinations + * + * Since: 1.16 */ gchar * gst_rtsp_stream_get_multicast_client_addresses (GstRTSPStream * stream)